Infery.ai
← All models

Stepx Edit2

stepx-edit2

Image editby stepx-edit2

Image-to-image editing with Step1X-Edit v2 from StepFun. Reasoning-enhanced modifications through a thinking–editing–reflection loop with MLLM world knowledge for abstract instruction comprehension.

images

Pricing

Price
25 cr / megapixel

Prices in credits (1 credit = $0.01).

Data schema

Input

FieldTypeDescription
seed The same seed and the same prompt given to the same version of the model will output the same image every time.
promptrequiredstringThe prompt to generate an image from.
image_urlrequiredstringThe image URL to generate an image from. Needs to match the dimensions of the mask.
sync_modebooleanIf `True`, the media will be returned as a data URI and the output data won't be available in the request history.
output_formatstringenum: jpeg, pngThe format of the generated image.
guidance_scalenumber The true CFG scale. Controls how closely the model follows the prompt.
negative_promptstring The negative prompt to use. Use it to address details that you don't want in the image. This could be colors, objects, scenery and even the small details (e.g. moustache, blurry, low resolution).
num_inference_stepsintegerThe number of inference steps to perform. Recommended: 50.
enable_thinking_modebooleanEnable thinking mode. Uses multimodal language model knowledge to interpret abstract editing instructions.
enable_safety_checkerbooleanIf set to true, the safety checker will be enabled.
enable_reflection_modebooleanEnable reflection mode. Reviews outputs, corrects unintended changes, and determines when editing is complete.

Output

FieldTypeDescription
seedinteger Seed of the generated Image. It will be the same value of the one passed in the input or the randomly generated that was used in case none was passed.
imagesarrayThe generated images
promptstringThe prompt used for generating the image.
timingsobject
best_infoReflection analysis (only available when reflection mode is enabled).
think_infoReasoning process details (only available when thinking mode is enabled).
reformat_promptThe model's interpretation of your instruction (only available when thinking mode is enabled).
has_nsfw_conceptsarrayWhether the generated images contain NSFW concepts.