Ultra-fast image generation model optimized for speed. Generates high-quality images in just 1-2 seconds, perfect for real-time applications and rapid prototyping.
Copy usage instructions for Claude, ChatGPT, or other AI
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "black-forest-labs/flux-schnell",
"input": {
"prompt": "A sleek wireless headphone on a minimalist white marble surface, professional product photography, soft studio lighting, 8k ultra detailed",
"image_size": "landscape_4_3",
"num_inference_steps": 4
}
}'| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
prompt | string | Yes | - | Text description of the image to generate |
aspect_ratio | string | No | 1:1 | Aspect ratio for the generated image 1:116:99:164:33:43:22:3 |
num_outputs | integer | No | 1 | Number of outputs to generate |
num_inference_steps | integer | No | 4 | Number of denoising steps (recommended: 4) |
seed | integer | No | - | Random seed for reproducibility |
output_format | string | No | png | Format of output images pngjpgwebp |
output_quality | integer | No | 80 | Quality of output images (0-100) |
go_fast | boolean | No | - | Run faster with fp8 quantized model |
megapixels | string | No | 1 | Approximate megapixels for output 0.251 |
Common parameters used when calling POST /v1/predictions.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | Yes | - | Model identifier |
input | object | Yes | - | Object containing the model-specific parameters from the table above |
output_folder | string | No | - | Folder path for output files (max 256 chars, '..' not allowed) |
webhook_url | string | No | - | Webhook URL to call on completion |
is_public | boolean | No | false | If true, output files are also available via permanent public URLs |
Generate professional product shots
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "black-forest-labs/flux-schnell",
"input": {
"prompt": "A sleek wireless headphone on a minimalist white marble surface, professional product photography, soft studio lighting, 8k ultra detailed",
"image_size": "landscape_4_3",
"num_inference_steps": 4
}
}'Create unique character concepts
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "black-forest-labs/flux-schnell",
"input": {
"prompt": "A cyberpunk samurai warrior with glowing neon armor, detailed character design, concept art style, dramatic lighting",
"image_size": "portrait_4_3"
}
}'Generate stunning landscapes
curl -X POST "https://api.core.today/v1/predictions" \
-H "Content-Type: application/json" \
-H "X-API-Key: cdt_your_api_key" \
-d '{
"model": "black-forest-labs/flux-schnell",
"input": {
"prompt": "Breathtaking mountain vista at golden hour, misty valleys below, photorealistic landscape photography, National Geographic style",
"image_size": "landscape_16_9"
}
}'POST /v1/predictions