More modelsWavespeed aiFlux fill dev
Generate image with wavespeed-ai/flux-fill-dev
Generates an image using the wavespeed-ai/flux-fill-dev 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.
Default
0
size?string
The size of the generated media in pixels (width*height).
imagestring
The URL of the image to generate an image from.
loras?array<LoraWeight>
List of LoRAs to apply (max 3).
Default
[]
Items
items <= 3
prompt?string
The prompt to generate an image from.
mask_imagestring
The URL of the mask image to generate an image from.
num_images?integer
The number of images to generate.
Default
1
Range
1 <= value <= 4
guidance_scale?number
The guidance scale to use for the generation.
Default
30
Range
28 <= value <= 35
num_inference_steps?integer
The number of inference steps to perform.
Default
28
Range
1 <= value <= 50
enable_safety_checker?boolean
If set to true, the safety checker will be enabled.
Default
true
Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "wavespeed-ai/flux-fill-dev", "image": "https://static.atlascloud.ai/media/images/1754366573795217564_823ZVRok.jpeg", "mask_image": "https://static.atlascloud.ai/media/images/1754366690014011991_yEMJFByu.png" }'
{
"id": "string",
"urls": {},
"model": "string",
"status": "string",
"outputs": [
"string"
],
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}