Jedno uwierzytelnienie, wszyscy providerzy
Jeden klucz RunAPI odblokowuje cały katalog. Bez osobnych kont i rotacji kluczy dla każdej integracji.
It looks like you may prefer a different language. Switch anytime.
Korzystaj z API GPT-4o Image przez RunAPI z model skillem, wspólnym uwierzytelnianiem i cennikiem pay-as-you-go.
curl -X POST https://runapi.ai/api/v1/gpt_4o_image/text_to_image \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-4o-image",
"prompt": "Based on our conversation about the brand redesign, generate a mockup of the new homepage hero section."
}'
import { Gpt4oImageClient } from "@runapi.ai/gpt-4o-image";
const client = new Gpt4oImageClient();
const result = await client.textToImage.run({
model: "gpt-4o-image",
prompt: "Based on our conversation about the brand redesign, generate a mockup of the new homepage hero section.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\Gpt4oImage\Gpt4oImageClient;
$client = new Gpt4oImageClient();
$result = $client->textToImage->run([
'model' => 'gpt-4o-image',
'prompt' => 'Based on our conversation about the brand redesign, generate a mockup of the new homepage hero section.',
]);
require "runapi/gpt_4o_image"
client = RunApi::Gpt4oImage::Client.new
result = client.text_to_image.run(
model: "gpt-4o-image",
prompt: "Based on our conversation about the brand redesign, generate a mockup of the new homepage hero section."
)
npx skills add runapi-ai/gpt-4o-image -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
GPT-4o Image enables native image generation directly within GPT-4o conversations, combining language understanding with visual creation in a single model. It interprets conversational context to produce contextually accurate images.
| ID modelu | gpt-4o-image |
| Dostawca | OpenAI |
| Modalność | image |
| Typ zadania | asynchronous |
| Jednostka rozliczeniowa | call |
| API endpoint | /api/v1/gpt_4o_image/text_to_image |
| Licencja komercyjna | Tak — wliczona przez API |
| Status katalogu | Operacyjny |
Wybierz model i wariant pasujące do typu wyjścia, progu jakości i celu opóźnienia.
Ustaw klucz RunAPI i zainstaluj model skill w workspace kodu.
Użyj instrukcji skilla, aby dodać funkcję modelu w swojej aplikacji.
Odpytuj po task ID, streamuj gdy wspierane albo obsłuż callback webhook.
GPT-4o Image integrates visual creation natively into GPT-4o, combining reasoning with generation. Through RunAPI, it shares the same API access and billing as all OpenAI models.
Jeden klucz RunAPI odblokowuje cały katalog. Bez osobnych kont i rotacji kluczy dla każdej integracji.
Rozliczanie za wywołanie w USD, fakturowane co miesiąc. Nieudane generacje nie są naliczane.
Typowane schematy i notatki setupu są spakowane w model skill, więc implementacja startuje od właściwego kontraktu.
GPT-4o Image generates images natively within the GPT-4o conversation, using conversational context to inform the image. GPT Image is a standalone generation endpoint.
The model uses the full conversation history to understand what you want — you can iteratively refine images by describing changes in natural language.
GPT-4o Image handles many distinct objects in a single scene while maintaining compositional coherence and object identity.
Yes — describe the changes in the conversation and the model modifies the existing image while preserving the rest of the scene.
Yes — the conversational interface makes it natural to iterate: generate, review, describe adjustments, and regenerate without rewriting the full prompt.
Wybierz najtańszy wariant, który spełnia Twoje wymagania jakościowe. Większość zespołów zaczyna od szybkiego wariantu, a do produkcji przechodzi na pro.