Eén auth, elke provider
Met één RunAPI-sleutel ontgrendel je de hele catalogus. Geen aparte accounts, geen sleutelrotatie per integratie.
It looks like you may prefer a different language. Switch anytime.
Gebruik de Imagen 4 API via RunAPI met een modelskill, uniforme auth en pay-as-you-go prijzen.
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.
| Variant | Facturering | Prijzen | |
|---|---|---|---|
| imagen-4 | call | $0.080 | Bekijken → |
| imagen-4-fast | call | $0.040 | Bekijken → |
| imagen-4-pro-remix-image | call | $0.240 | Bekijken → |
| imagen-4-ultra | call | $0.120 | Bekijken → |
| Endpoint | Resolutie | Duur | Prijs | |
|---|---|---|---|---|
| text_to_image | — | — | $0.08 / image |
Prijzen getoond voor imagen-4. Andere varianten behouden hun eigen endpoint-prijzen.
Kies het model en de variant die passen bij je outputtype, kwaliteitslat en latencydoel.
Stel je RunAPI-key in en installeer de modelskill in je codeworkspace.
Gebruik de skill-instructies om de modelfeature in je applicatie toe te voegen.
Poll op task-ID, stream wanneer ondersteund of verwerk de webhook-callback.
Imagen 4 is Google's nieuwste tekst-naar-beeldmodel dat fotorealistische resultaten levert met brede stijlondersteuning. Via RunAPI deelt elke Imagen 4-variant één API-sleutel.
Met één RunAPI-sleutel ontgrendel je de hele catalogus. Geen aparte accounts, geen sleutelrotatie per integratie.
Prijs per call in USD, maandelijks gefactureerd. Mislukte generaties worden niet in rekening gebracht.
Getypeerde schema's en setupnotities zitten in de modelskill, zodat implementatie start vanuit het juiste contract.
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.
Kies de goedkoopste variant die aan je kwaliteitsnorm voldoet. De meeste teams beginnen met de snelle variant en stappen over op pro voor productie.