FIBO Gen 1.5 Text to Image API
https://api.hiapi.ai /v1/tasks Image, video, and audio models are called through theUnified Async API POST /v1/tasks endpoint; only the input fields differ (see input parameters below).
Model summary
| Model name | fibo-gen-1.5/text-to-image |
|---|---|
| Type | Image generation (text-to-image) |
| Endpoint | POST /v1/tasks |
| Pricing | See HiAPI Pricing |
FIBO Gen 1.5: Describe a scene and get a photoreal image with fine materials and lighting, accurate in-image text and 9 aspect ratios.
Production guidance
- For production, pass callback.url at the top level of the request body so HiAPI can notify your service when the task reaches a terminal state.
- GET /v1/tasks/:id is better for local debugging, low-volume jobs, or fallback reconciliation if a callback is missed.
- Result URLs expire — copy the output to your own storage once the task succeeds.
Best suited for
Labels, packaging text and materials stay crisp and realistic.
promptaspect_ratioNatural-light portraits and lifestyle scenes with real skin texture.
promptKeep the seed fixed to compare prompt changes.
seedRequest parameters
model string required Fixed value fibo-gen-1.5/text-to-image.
input object required Business parameters.
prompt string required Image description, 1–10000 characters.
aspect_ratio enum optional Output aspect ratio.
seed integer optional Random seed. The same seed and prompt give the same image; change it for a new result.
callback object optional Optional callback configuration. When set, HiAPI notifies your service when the task reaches a terminal state.
url string required Required when callback is set; HTTPS URL that receives terminal task notifications.
when enum optional Callback trigger timing. Use final.
Example requests
Droplets, the metal cap and the NOIR 07 label all come out crisp and correct.
{
"model": "fibo-gen-1.5/text-to-image",
"input": {
"prompt": "Luxury product photo of an amber glass perfume bottle on wet black marble, gold cap, soft rim light, droplets on the glass, the label reads 'NOIR 07' in elegant serif letters",
"aspect_ratio": "4:5",
"seed": 2026
}
}Getting the result
- The response returns a taskId immediately without waiting for generation to finish.
- In production, prefer waiting for callback.url to receive the terminal notification. For local debugging, poll GET /v1/tasks/:id.
- When status=success, download the image from output[].url.
- When status=fail, fix the request based on the returned error instead of retrying the same invalid payload.
FAQ
What is FIBO Gen 1.5 good for?
Photoreal product shots, portraits, food, architecture, and signs or packaging with text.
Which aspect ratios are supported?
aspect_ratio accepts 1:1 (default), 2:3, 3:2, 3:4, 4:3, 4:5, 5:4, 9:16 and 16:9.
How large is the output?
One PNG of about 1 megapixel per request; width and height follow the ratio, for example 1024 × 1024 at 1:1.
Why does the same prompt give the same image?
seed defaults to 5555, and the same seed and prompt reproduce the same image. Change the seed for a different result.
Is in-image text accurate?
Short text and headlines usually render correctly. Quote the words and describe placement for steadier results.
How many images per request?
One image per request; submit several tasks for more.
Do I need a reference image?
No. To edit an existing image, use FIBO Edit 1.5.