Generate image with wavespeed-ai/flux-dev
Generates an image using the wavespeed-ai/flux-dev model.
API key is required to authorize requests. Obtain a key from your AtlasCloud dashboard.
In: header
model name
The same seed and the same prompt given to the same version of the model will output the same image every time.
-1
The size of the generated image.
The image to generate an image from.
The prompt to generate an image from.
Strength indicates extent to transform the reference image
0.8
0 <= value <= 1
The mask image tells the model where to generate new pixels (white) and where to preserve the original image (black). It acts as a stencil or guide for targeted image editing.
The number of images to generate.
1
1 <= value <= 4
The CFG (Classifier Free Guidance) scale is a measure of how close you want the model to stick to your prompt when looking for a related image to show you.
3.5
1 <= value <= 20
The number of inference steps to perform.
28
1 <= value <= 50
If enabled, the output will be encoded into a BASE64 string instead of a URL.
false
If set to true, the safety checker will be enabled.
true
Response Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "wavespeed-ai/flux-dev", "prompt": "A stylish model, fashion show, showcase a designer outfit, orange colour suit, conspicuous jewelry, fashion show background, vibrant color, dramatic makeup" }'
{
"id": "7hm7nbwarxrm80cnq1yvmxz4m4",
"logs": "...",
"urls": {
"cancel": "http://example.com",
"result": "http://example.com"
},
"input": {
"model": "wavespeed-ai/flux-dev",
"seed": -1,
"size": "1024*1024",
"image": "string",
"prompt": "A stylish model, fashion show, showcase a designer outfit, orange colour suit, conspicuous jewelry, fashion show background, vibrant color, dramatic makeup",
"strength": 0.8,
"mask_image": "string",
"num_images": 1,
"guidance_scale": 3.5,
"num_inference_steps": 28,
"enable_base64_output": false,
"enable_safety_checker": true
},
"model": "black-forest-labs/flux-dev",
"output": [
"https://replicate.delivery/..."
],
"status": "processing",
"created_at": "2025-03-21T11:36:30.151Z",
"has_nsfw_contents": [
false
]
}