Documentation Index
Fetch the complete documentation index at: https://runcrate.ai/docs/llms.txt
Use this file to discover all available pages before exploring further.
Image Generation
Generate images from text prompts using models like FLUX.1, FLUX.2, and others.Endpoint
Basic Usage
Parameters
Parameters vary by model. Common parameters include:| Parameter | Type | Description |
|---|---|---|
model | string | Model ID (required) |
prompt | string | Text description of the image (required) |
aspect_ratio | string | Output ratio: 1:1, 16:9, 9:16, 4:3, 3:2, etc. |
num_inference_steps | integer | Number of diffusion steps (higher = more detail, slower) |
guidance | number | How closely to follow the prompt |
seed | integer | Reproducibility seed (omit for random) |
negative_prompt | string | What to avoid in the image |
Model-Specific Parameters
Some models support additional inputs:- FLUX Kontext models: Accept
input_imagefor image editing - FLUX Canny: Requires
control_imagefor edge-guided generation - FLUX.2 Pro: Accepts up to 8
input_imagesfor reference-based generation - FLUX Dev/Krea: Accept
imagefor img2img mode withprompt_strengthcontrol
Response
url to the generated image or b64_json base64-encoded image data.
Available Image Models
| Model | Speed | Quality | Notes |
|---|---|---|---|
| FLUX.1 Schnell | Fast | Good | Best for rapid prototyping |
| FLUX.1 Dev | Medium | High | Open-weights, img2img support |
| FLUX.1 Pro | Medium | Very High | Production-grade |
| FLUX.1.1 Pro | Medium | Very High | Updated Pro model |
| FLUX.2 Pro | Medium | Highest | Up to 4MP, multi-reference |
| FLUX Kontext | Medium | High | Image editing and generation |