Generate image with black-forest-labs/flux-kontext-dev
Generates an image using the black-forest-labs/flux-kontext-dev model.
Authorization
BearerAuth API key is required to authorize requests. Create a key in the Atlas Cloud dashboard.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v1/model/generateImage" \ -H "Content-Type: application/json" \ -d '{ "model": "black-forest-labs/flux-kontext-dev", "prompt": "Change the car color to red." }'{ "id": "string", "logs": "string", "urls": { "cancel": "http://example.com", "result": "http://example.com" }, "input": { "model": "black-forest-labs/flux-kontext-dev", "seed": -1, "size": "string", "image": "https://static.atlascloud.ai/media/images/1750940187685254815_W4yPaBQU.jpg", "prompt": "Change the car color to red.", "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 ]}Last updated on