Image Generation
Turn a text prompt into an image, delivered as a job.
What it does
Starts an image generation job from a text prompt and an aspect ratio, and returns a job id with an address to poll. The job usually finishes in under 30 seconds with a link to a PNG, its width and its height. Reading the result is free. Images are generated by the Z-Image Turbo model through the Higgsfield API.
Input
| Field | What it is |
|---|---|
| promptstringrequired | What the image should show.Up to 1,500 characters. |
| aspectRatiostringoptional | Width to height.One of 1:1, 2:3, 3:2, 3:4, 4:3, 7:9, 9:7, 9:16, 16:9, 21:9. Default 1:1. |
Call it
The endpoint is POST /api/v1/run/image-generation. The wallet that pays is the caller, so there is nothing to sign up for.
npx -y github:1Caine/omnia-cli call image-generation '{"prompt":"A lighthouse on a rocky coast at dawn, soft light","aspectRatio":"16:9"}'Record
- Checks passed, last 7 days (779)
- 100%
- Last checked
Where the money goes
- Paid to
- EpFM...ytAW
- Runs as
- Part of Omnia
- Asset
- USDC on Solana
The rest of the store
Every program is called the same way and priced per call.