Tek kimlik doğrulama, tüm sağlayıcılar
Tek bir RunAPI anahtarı tüm kataloğu açar. Ayrı hesap yok, her entegrasyon için anahtar döndürme yok.
It looks like you may prefer a different language. Switch anytime.
Imagen 4 API’sini RunAPI üzerinden model skill, birleşik kimlik doğrulama ve kullandıkça öde fiyatlandırmayla kullanın.
curl -X POST https://runapi.ai/api/v1/imagen_4/text_to_image \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "imagen-4-ultra",
"prompt": "Generate a product hero image of a matte-black water bottle on a beige stone surface, soft side light, 2K."
}'
import { Imagen4Client } from "@runapi.ai/imagen-4";
const client = new Imagen4Client();
const result = await client.textToImage.run({
model: "imagen-4-ultra",
prompt: "Generate a product hero image of a matte-black water bottle on a beige stone surface, soft side light, 2K.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\Imagen4\Imagen4Client;
$client = new Imagen4Client();
$result = $client->textToImage->run([
'model' => 'imagen-4-ultra',
'prompt' => 'Generate a product hero image of a matte-black water bottle on a beige stone surface, soft side light, 2K.',
]);
require "runapi/imagen_4"
client = RunApi::Imagen4::Client.new
result = client.text_to_image.run(
model: "imagen-4-ultra",
prompt: "Generate a product hero image of a matte-black water bottle on a beige stone surface, soft side light, 2K."
)
npx skills add runapi-ai/imagen-4 -g
# Claude Code
claude mcp add runapi -s user -- npx -y @runapi.ai/mcp
# Codex
codex plugin install runapi-mcp@agents
# Cursor / Windsurf / VS Code
npx @runapi.ai/mcp init cursor
Imagen 4 is Google's photorealistic image generation model with strong typography rendering and support for resolutions up to 2K. It produces detailed, true-to-life images with accurate color and lighting.
| Endpoint | Çözünürlük | Süre | Fiyat | |
|---|---|---|---|---|
| text_to_image | — | — | $0.08 / image |
imagen-4 için gösterilen fiyatlar. Diğer varyantlar kendi endpoint fiyatlandırmalarını korur.
Çıktı tipi, kalite eşiği ve gecikme hedefinize uygun model ve varyantı seçin.
RunAPI anahtarınızı ayarlayın ve model skill’i kod workspace’inize kurun.
Skill talimatlarını kullanarak model özelliğini uygulamanızın içine ekleyin.
Task ID ile sorgulayın, destekleniyorsa stream edin veya webhook callback’i işleyin.
Imagen 4, Google'ın en yeni metinden görsele modelidir ve geniş stil desteğiyle foto-gerçekçi sonuçlar sunar. RunAPI üzerinden her Imagen 4 varyantı tek bir API anahtarını paylaşır.
Tek bir RunAPI anahtarı tüm kataloğu açar. Ayrı hesap yok, her entegrasyon için anahtar döndürme yok.
USD bazında çağrı başı fiyatlandırma, aylık faturalandırılır. Başarısız üretimler ücretlendirilmez.
Tipli şemalar ve kurulum notları model skill içinde paketlenir; uygulama doğru kontrattan başlar.
Up to 2K resolution natively. The ultra variant pushes quality further for brand and marketing use.
Fast generates in ~2.7 seconds for drafts. Standard balances quality and cost. Ultra delivers maximum photorealism for final production assets.
Imagen 4 has strong typography support — it reliably renders short text like brand names, labels, and headlines within images.
It takes source images as style or content seeds and generates a new image guided by both the sources and your text prompt.
Not natively. For transparent backgrounds, generate the image and then use a background removal tool like Recraft.
Kalite beklentinizi karşılayan en uygun fiyatlı varyantı seçin. Çoğu ekip hızlı varyantla başlar ve üretimde pro sürüme geçer.