More modelsAtlascloudStep1x edit
Generate image with atlascloud/step1x-edit
Generates an image using the atlascloud/step1x-edit model.
AuthorizationBearer <token>
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
modelstring
model name
seed?integer
The random seed to use for the generation.
imagestring
The image URL to generate an image from. Needs to match the dimensions of the mask.
promptstring
The prompt to generate an image from.
guidance_scale?number
The guidance scale to use for the generation.
Default
4Range
0 <= value <= 20negative_prompt?string
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_steps?integer
The number of inference steps to perform.
Default
30Range
1 <= value <= 50enable_safety_checker?boolean
If set to true, the safety checker will be enabled.
Default
trueResponse Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "atlascloud/step1x-edit", "image": "https://static.atlascloud.ai/media/images/1748334637981075510_pdqmjea7.jpeg", "prompt": "change outfit" }'{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}