Generate image with black-forest-labs/flux-schnell
Generates an image using the black-forest-labs/flux-schnell 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-schnell", "prompt": "Cute boy with a hat, exploring nature, holding a telescope, backpack, surrounded by flowers, cartoon style, vibrant colors." }'{ "id": "7hm7nbwarxrm80cnq1yvmxz4m4", "logs": "...", "urls": { "cancel": "http://example.com", "result": "http://example.com" }, "input": { "model": "black-forest-labs/flux-schnell", "seed": -1, "size": "1024*1024", "image": "string", "prompt": "Cute boy with a hat, exploring nature, holding a telescope, backpack, surrounded by flowers, cartoon style, vibrant colors.", "strength": 0.8, "mask_image": "string", "num_images": 1, "enable_sync_mode": false, "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 ]}Last updated on