It looks like you may prefer a different language. Switch anytime.

Image OpenAI

GPT Image API

استخدم GPT Image API عبر RunAPI مع model skill ومصادقة موحدة وتسعير حسب الاستخدام.

runapi.ai
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
@runapi.ai/gpt-image v1
OVERVIEW

حول GPT Image

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.

المزوّد
OpenAI
الوسيط
Image
PRICING

التسعير

العمليات الفاشلة لا تُحتسب
Edit image
$0.22 / image
Text to image
$0.12-$0.22 / image
Quality: high $0.22
Quality: medium $0.12
ورقة المواصفات

التفاصيل الفنية

معرّف النموذج gpt-image-1.5
المزوّد OpenAI
الوسيط image
نوع المهمة asynchronous
وحدة الفوترة call
API endpoint /api/v1/gpt_image/text_to_image
ترخيص تجاري نعم — مشمول عبر API
حالة الكتالوج جاهز للتشغيل
تكامل الوكلاء

شغّل GPT Image من وكيل

كيف يعمل

ابدأ مع GPT Image

  1. اختر النموذج

    اختر النموذج والإصدار المناسبين لنوع المخرجات ومستوى الجودة وزمن الاستجابة المستهدف.

  2. الإعداد

    اضبط مفتاح RunAPI وثبّت model skill في مساحة عمل الكود.

  3. التنفيذ

    استخدم تعليمات المهارة لإضافة ميزة النموذج داخل تطبيقك.

  4. الاستلام

    استعلم عبر task ID أو استخدم البث عند دعمه أو عالج webhook callback.

CONTEXT

ما هي GPT Image API؟

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.

المزوّد
OpenAI
عرض الكل →
الوسيط
Image
تصفّح النماذج →

لماذا تستخدم GPT Image API عبر RunAPI

مصادقة واحدة لكل مزود

مفتاح RunAPI واحد يفتح الوصول إلى الكتالوج بالكامل. لا حسابات منفصلة، ولا تدوير مفاتيح لكل تكامل.

تسعير وفوترة موحّدان

تسعير لكل استدعاء بالدولار الأمريكي، ويُفوتر شهريًا. لا تُحتسب التوليدات الفاشلة.

Skill مع schemas

تأتي الـschemas المعرّفة وملاحظات الإعداد داخل model skill حتى يبدأ التنفيذ من العقد الصحيح.

أسئلة حول GPT Image

What endpoints does GPT Image support?

توليد الصور من النص وتحرير الصور. كلاهما يقبل مطالبات نصية مفصّلة مع تعليمات تركيبية.

How does compositional control work?

GPT Image follows spatial layout instructions in your prompt — you can specify where objects appear, relative sizes, and arrangement within the frame.

What output sizes are available?

3 fixed sizes up to 1536 pixels. The text-to-image endpoint also supports transparent PNG output.

How does GPT Image compare to GPT Image 2?

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.

Can I use GPT Image for editing?

Yes — the image editing endpoint accepts a source image and modifies it based on your text prompt, acting as an image editing tool.

أي نسخة ينبغي أن أبدأ بها؟

اختر أرخص نسخة تفي بمعيار الجودة لديك. يبدأ معظم الفرق بالنسخة السريعة ثم ينتقلون إلى pro للإنتاج.

نماذج مشابهة

إذا أعجبتك GPT Image API، فجرّب هذه الخيارات

ابدأ البناء باستخدام GPT Image API.

Endpoints

  • edit_image
  • text_to_image

الفئة نفسها

من هذا المزود

التوثيق