Image model API
Imagen 3 API
Imagen 3 is Google’s high-quality text-to-image generation model, built to transform natural-language prompts into detailed, visually rich images. It excels at producing realistic lighting, refined textures, balanced colors, and a wide range of artistic styles. With strong prompt understanding and straightforward controls, Imagen 3 is suitable for creators, designers, marketers, and businesses looking to generate polished visuals from text.
- Model id
imagen-3- Takes
- Text (required)
- Makes
- Image
- Endpoint
POST /api/v1/images/generations- Made by
- Mode
- Synchronous
Call Imagen 3
https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.Model imagen-3
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": "imagen-3",
"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
- 1 image5.2 Joules
- 4 images20.8 Joules
Send requests to POST /api/v1/images/generations. Imagen 3 answers synchronously: the result comes back in the response to the same request.