Image model API

HiDream I1 Fast API

This is a open-source image generative model with 17B parameters that achieves state-of-the-art image generation quality within 16 steps. This is an optimised version of the hidream-l1 model using the pruna ai optimisation toolkit!

Model id
hidream-i1-fast
Takes
Text (required)
Makes
Image
Endpoint
POST /api/v1/images/generations
Made by
Pruna AI
Mode
Synchronous

Call HiDream I1 Fast

Base URL https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.

Model hidream-i1-fast

POST /api/v1/images/generations

curl https://payload.rentprompts.com/api/v1/images/generations \
  -H "Authorization: Bearer rp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "hidream-i1-fast",
  "prompt": "A lighthouse at dusk, watercolor",
  "n": 1
}'

Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →

What a typical call costs

Worked out from HiDream I1 Fast's published price (0.6 J / image). You pay only for successful results, from your Joule balance.
  • 1 image0.6 Joules
  • 4 images2.4 Joules

Send requests to POST /api/v1/images/generations. HiDream I1 Fast answers synchronously: the result comes back in the response to the same request.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).
NameTypeDefaultRange / options
output_qualityinteger801 – 100
seedinteger101 – 328
guidance_scaleinteger50 – 20
HiDream I1 Fast API — Pricing & Code Examples | RentPrompts