Fibo 2.0 Generate
bria/fibo-2/generateGenerate and edit images from text with Fibo 2.0 Generate from fal through one Spiral API key. It runs in the background and returns images. Pay as you go, with no subscription.
Pricing
$0.052 per image.
Limits
- Runs
- In the background
- Returns
- image
- Longest queue wait
- 1 hour
- Run deadline
- 30 minutes
- Longest run, end to end
- 225 minutes
- Largest inline input
- 1 MB
- Largest input file
- 2 GB
- Largest output
- 5 GB
Input
| Field | Kind | Default | Description |
|---|---|---|---|
prompt | text | — | What to generate, in free-form text. It is expanded into a VGL, which is returned. With 'vgl', the change to make to it. |
style | one of Kodak Film, Hard Flash, Hazy Dreamy, Rough Realism | — | A style for the generated image. Requires 'prompt'; not with 'image_url', 'vgl' or 'negative_prompt'. |
image_url | URL or file | — | A reference image (inspire mode). With 'prompt', VGL uses it as a visual reference for the prompt's scene and generates a new image of that scene, not the image. Alone, the VGL describes the image itself, so the result is a close variation of it. Not with 'vgl'. |
vgl | JSON | — | A VGL (Visual Generation Language) document: the structured JSON description of the scene. Alone, the model renders it as-is. With 'prompt', VGL changes it by the prompt (refine) and the result is rendered. Accepts what a previous request returned. Not with 'image_url' or 'style'. |
seed | number (whole) 0 to 2147483647 | 5555 | Random seed for reproducibility, 0 to 2147483647. |
aspect_ratio | one of 1:1, 1:2, 1:3, 1:4, 1:5, 2:1, 2:3, 3:1, 3:2, 3:4, 4:1, 4:3, 4:5, 5:1, 5:4, 9:16, 9:21, 10:16, 16:9, 16:10, 21:9 | 1:1 | Aspect ratio of the image, at about one megapixel. Options: 1:1, 1:2, 1:3, 1:4, 1:5, 2:1, 2:3, 3:1, 3:2, 3:4, 4:1, 4:3, 4:5, 5:1, 5:4, 9:16, 9:21, 10:16, 16:9, 16:10, 21:9 |
Same request in code
curl https://api.spiral.ai/v1/runs \
-H "Authorization: Bearer $SPIRAL_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"provider": "fal",
"model": "bria/fibo-2/generate",
"input": {
"prompt": "<prompt>"
}
}'Frequently asked questions
How much does Fibo 2.0 Generate cost?
$0.052 per image. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.
How do I use Fibo 2.0 Generate through an API?
Send `POST /v1/runs` with `"provider": "fal"`, `"model": "bria/fibo-2/generate"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.
Do I need an account with fal to use Fibo 2.0 Generate?
No. Spiral runs it on its own fal account and charges your Spiral balance.
Can my AI agent use Fibo 2.0 Generate?
Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.