Generate image with black-forest-labs/flux-kontext-dev/multi
Generates an image using the black-forest-labs/flux-kontext-dev/multi 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.
-1The size of the generated image.
URL of images to use while generating the image.
["https://static.atlascloud.ai/media/images/1750946221123208007_M1YURNLH.png","https://static.atlascloud.ai/media/images/1750946250550516343_7mSOLHEA.webp","https://static.atlascloud.ai/media/images/1750946240650738815_zAOLGDzv.jpg"]items <= 4The prompt to generate an image from.
The number of images to generate.
11 <= value <= 4The 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.
2.51 <= value <= 20The number of inference steps to perform.
281 <= value <= 50If enabled, the output will be encoded into a BASE64 string instead of a URL.
falseIf set to true, the safety checker will be enabled.
trueResponse Body
curl -X POST "https://api.atlascloud.ai/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "black-forest-labs/flux-kontext-dev/multi", "prompt": "A man standing by the ocean, wearing a crisp white shirt with sleeves casually rolled up. He’s holding a fresh coconut in one hand and gazing toward the horizon. The beach is sunlit and peaceful, with soft waves, golden sand, and a gentle breeze ruffling his shirt. Relaxed and summery mood." }'{
"id": "string",
"logs": "string",
"urls": {
"cancel": "http://example.com",
"result": "http://example.com"
},
"input": {
"model": "black-forest-labs/flux-kontext-dev/multi",
"seed": -1,
"size": "string",
"images": [
"https://static.atlascloud.ai/media/images/1750946221123208007_M1YURNLH.png",
"https://static.atlascloud.ai/media/images/1750946250550516343_7mSOLHEA.webp",
"https://static.atlascloud.ai/media/images/1750946240650738815_zAOLGDzv.jpg"
],
"prompt": "A man standing by the ocean, wearing a crisp white shirt with sleeves casually rolled up. He’s holding a fresh coconut in one hand and gazing toward the horizon. The beach is sunlit and peaceful, with soft waves, golden sand, and a gentle breeze ruffling his shirt. Relaxed and summery mood.",
"num_images": 1,
"guidance_scale": 2.5,
"num_inference_steps": 28,
"enable_base64_output": false,
"enable_safety_checker": true
},
"model": "string",
"output": [
"http://example.com"
],
"status": "queued",
"created_at": "2019-08-24T14:15:22Z",
"has_nsfw_contents": [
true
]
}Generate image with black-forest-labs/flux-kontext-dev-lora-ultra-fast POST
Generates an image using the black-forest-labs/flux-kontext-dev-lora-ultra-fast model.
Generate image with black-forest-labs/flux-kontext-dev/multi-ultra-fast POST
Generates an image using the black-forest-labs/flux-kontext-dev/multi-ultra-fast model.