from $0.04 per image — satu endpoint yang kompatibel dengan OpenAI di
https://api.apimart.ai/v1, tanpa paket bulanan. (diamati 2026-10-12)
Get an API key · Live pricing · Model page · ⚡ 60-second quickstart
Alasan tim memakai Imagen 4.0 (imagen-4.0-apimart) lewat APIMart
- Satu key untuk seluruh katalog. base URL
https://api.apimart.ai/v1dan headerAuthorizationyang sama menjangkau Imagen 4.0 (imagen-4.0-apimart) plus 300+ model gambar, video, dan bahasa lainnya — cukup ganti fieldmodel, bukan klien Anda. - Minimum $1, bayar sesuai pemakaian. Tanpa langganan dan tanpa paket prabayar yang harus dihitung di awal: isi saldo mulai $1 dan pakai untuk panggilan.
- Biaya dikembalikan di respons. Setiap task yang selesai melaporkan jumlah yang ditagih (
cost/credits_cost); task berstatusfaileddikembalikan dananya. - Asinkron sejak awal. Kirim, ambil
task_id, pollingGET /v1/tasks/{id}— batching dan retry hanyalah pekerjaan antrean biasa, bukan integrasi khusus.
Eight Imagen 4.0 prompts listed with an example render, the ratio, and what the call costs on this route. Copy a recipe, keep the structure, swap the subject.
- Model:
imagen-4.0-apimart - Recipes: 8 (machine-readable in
data/prompts.json, table inPROMPTS.md) - Effective price used below: $0.04 per image — estimated cost of the whole set: $0.32
Three rules held up across every render in this set:
- Name the material, not the adjective. "Frosted glass", "matte ceramic", "layered paper" steer rendering far more than "beautiful" or "high quality".
- Set the light explicitly. "Single softbox from the left", "golden hour backlight", "focus-stacked studio light" remove the guesswork the model would otherwise do for you.
- Pin the framing. Ratio plus lens language (
85mm,24mm,macro, overhead flat lay) decides whether the output drops into a layout unchanged.
| Slot | What to write | Example |
|---|---|---|
| Subject | one concrete object or person, with material | frosted glass perfume bottle |
| Light | direction + quality | single softbox from the left |
| Framing | ratio + lens or distance | 3:4, medium format look |
| Setting | surface, backdrop, environment | wet black stone slab |
| Finish | render or film character | commercial product photography |
Each row is one recipe: example render, category, ratio, cost on this route and the exact prompt.
export APIMART_API_KEY=...
python examples/run_recipes.py --dry-run # list the recipes, no network
python examples/run_recipes.py --limit 2 # generate two of themcurl --request POST --url https://api.apimart.ai/v1/images/generations \
--header "Authorization: Bearer $APIMART_API_KEY" --header 'Content-Type: application/json' \
-d '{"model":"imagen-4.0-apimart","prompt":"<paste a prompt>","size":"1:1","resolution":"1K"}'Result links expire 72 hours after completion, so store the outputs; the completed task carries cost for reconciliation.
Are these prompts free to reuse?
Yes — the prompt text in this repository is MIT licensed. The generated images and any third-party marks they contain remain your responsibility, and you should check the model vendor's terms before publishing commercial work.
Why do the recipes use different aspect ratios?
Because ratio is a layout decision, not a style one: 1:1 for catalogue and icons, 16:9 for hero and video thumbnails, 3:4 or 2:3 for portraits and print. Pinning it up front avoids cropping later.
How much does one recipe cost to run?
from $0.04 per image. Every completed task reports the exact amount in its cost field; a failed task is refunded.
Can I use a recipe as a template for another subject?
That is the point. Keep the structure (subject + light + framing + setting + finish) and replace the subject; changing everything at once makes it impossible to tell which phrase moved the output.
- Same model, this language — the other half of this pair: imagen-4-0-api-id
- Same model, other languages — 10 more language builds: English
imagen-4-0-api· 中文imagen-4-0-api-cn· Deutsch imagen-4-0-api-de · Español imagen-4-0-api-es · Français imagen-4-0-api-fr · Relay/gateway imagen-4-0-api-gateway · 日本語 imagen-4-0-api-ja · 한국어 imagen-4-0-api-ko · Português imagen-4-0-api-pt · Русский imagen-4-0-api-ru - More models in this language — midjourney-api-id · gemini-2-5-flash-image-preview-api-id · nano-banana-api-id · gemini-3-1-flash-image-preview-api-id · nano-banana-2-api-id · gemini-3-pro-image-preview-api-id
- Topic hubs — every build of this model, all languages: imagen-4-0 · imagen-4-0-api
This repository is one build in a cross-linked set of API guides for the same model family; each language build links back to the others.
| Purpose | Attributed link | Target |
|---|---|---|
| Model page | https://go.apimart.ai/k-feec9e | apimart.ai/id/model/imagen-4-0-apimart |
| Live pricing | https://go.apimart.ai/k-89c8c6 | apimart.ai/id/pricing |
| Get an API key | https://go.apimart.ai/k-d87748 | apimart.ai/id/keys |
Outbound APIMart links are minted through the promo link API; hand-made tracking parameters are rejected by
tools/check_links.py in CI.
Imagen 4.0 is a third-party model served through APIMart. This repository publishes prompts, example renders and cost logic; it does not claim official status for any vendor, and model names and documentation belong to their owners.
README.md gallery, prompt structure and FAQ
PROMPTS.md every recipe in one table
data/prompts.json machine-readable recipes with per-unit cost
examples/run_recipes.py batch runner (dry-run safe for CI)
tools/check_links.py attribution guard
assets/ example renders via the APIMart image API (JPEG)
MIT — see LICENSE.







