مصادقة واحدة لكل مزود
مفتاح RunAPI واحد يفتح الوصول إلى الكتالوج بالكامل. لا حسابات منفصلة، ولا تدوير مفاتيح لكل تكامل.
It looks like you may prefer a different language. Switch anytime.
استخدم GPT Image API عبر RunAPI مع model skill ومصادقة موحدة وتسعير حسب الاستخدام.
curl -X POST https://runapi.ai/api/v1/gpt_image/text_to_image \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-1.5",
"prompt": "Generate a flat-design illustration of a team collaborating around a whiteboard, vibrant colors, clean lines."
}'
import { GptImageClient } from "@runapi.ai/gpt-image";
const client = new GptImageClient();
const result = await client.textToImage.run({
model: "gpt-image-1.5",
prompt: "Generate a flat-design illustration of a team collaborating around a whiteboard, vibrant colors, clean lines.",
});
<?php
require __DIR__ . "/vendor/autoload.php";
use RunApi\GptImage\GptImageClient;
$client = new GptImageClient();
$result = $client->textToImage->run([
'model' => 'gpt-image-1.5',
'prompt' => 'Generate a flat-design illustration of a team collaborating around a whiteboard, vibrant colors, clean lines.',
]);
require "runapi/gpt_image"
client = RunApi::GptImage::Client.new
result = client.text_to_image.run(
model: "gpt-image-1.5",
prompt: "Generate a flat-design illustration of a team collaborating around a whiteboard, vibrant colors, clean lines."
)
npx skills add runapi-ai/gpt-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 Image is OpenAI's image generation model supporting both text-to-image and image editing creation with strong compositional control. It produces high-quality visuals across photorealistic and stylized outputs.
| معرّف النموذج | gpt-image-1.5 |
| المزوّد | OpenAI |
| الوسيط | image |
| نوع المهمة | asynchronous |
| وحدة الفوترة | call |
| API endpoint | /api/v1/gpt_image/text_to_image |
| ترخيص تجاري | نعم — مشمول عبر API |
| حالة الكتالوج | جاهز للتشغيل |
اختر النموذج والإصدار المناسبين لنوع المخرجات ومستوى الجودة وزمن الاستجابة المستهدف.
اضبط مفتاح RunAPI وثبّت model skill في مساحة عمل الكود.
استخدم تعليمات المهارة لإضافة ميزة النموذج داخل تطبيقك.
استعلم عبر task ID أو استخدم البث عند دعمه أو عالج webhook callback.
GPT Image is OpenAI's image generation model, supporting text-to-image and image editing. Through RunAPI, all GPT Image endpoints share one key and per-call pricing.
مفتاح RunAPI واحد يفتح الوصول إلى الكتالوج بالكامل. لا حسابات منفصلة، ولا تدوير مفاتيح لكل تكامل.
تسعير لكل استدعاء بالدولار الأمريكي، ويُفوتر شهريًا. لا تُحتسب التوليدات الفاشلة.
تأتي الـschemas المعرّفة وملاحظات الإعداد داخل model skill حتى يبدأ التنفيذ من العقد الصحيح.
توليد الصور من النص وتحرير الصور. كلاهما يقبل مطالبات نصية مفصّلة مع تعليمات تركيبية.
GPT Image follows spatial layout instructions in your prompt — you can specify where objects appear, relative sizes, and arrangement within the frame.
3 fixed sizes up to 1536 pixels. The text-to-image endpoint also supports transparent PNG output.
GPT Image 2 is the newer model with near-perfect multilingual text rendering and up to 4K output. GPT Image is the prior generation with strong compositional control.
Yes — the image editing endpoint accepts a source image and modifies it based on your text prompt, acting as an image editing tool.
اختر أرخص نسخة تفي بمعيار الجودة لديك. يبدأ معظم الفرق بالنسخة السريعة ثم ينتقلون إلى pro للإنتاج.