Skip to content
هذه الصفحة غير متاحة بلغتك بعد، لذا تُعرض باللغة الإنجليزية.
OpenAI · GPT Image

gpt-image-1 API

Generate images with OpenAI’s gpt-image-1 on APISea, with token-based pricing and prompt-cache reads.

إنشاء الصورالصورمهمة غير متزامنةالتخزين المؤقت للمطالبات
معرّف النموذج
gpt-image-1

تسعير API لنموذج gpt-image-1

جميع الأسعار بالدولار الأمريكي (USD). مقارنة أسعار APISea بالسعر الرسمي المعلن للوحدة نفسها.

نوع الـ tokenAPISeaرسميوفّر
إدخال نصي لكل 1M رمز$4.40$5.00−12%
إدخال نصي مخزّن مؤقتًا لكل 1M رمز$1.10$1.25−12%
إدخال صورة لكل 1M رمز$8.80$10.00−12%
إدخال صورة مخزّنة مؤقتًا لكل 1M رمز$2.20$2.50−12%
إخراج صورة لكل 1M رمز$35.20$40.00−12%

ما هو gpt-image-1؟

gpt-image-1 is OpenAI’s GPT Image model for image generation, available through APISea. It is suited to applications that turn visual briefs into image assets, including creative concept tools, campaign workflows, and content production interfaces. The model’s pricing distinguishes text input, image input, and image output, and its listed limits are 1,000,000 input tokens and 128,000 output tokens. Prompt-cache reads are supported. The supplied parameter documentation covers gpt-image-1.5-official rather than this exact model, so verify generation controls before integrating.

APISea provides one API key and an OpenAI-compatible base URL at https://api.apisea.ai/v1. Billing is pay-as-you-go and applies only to successful requests. Text input costs $4.40 per 1M tokens, image input costs $8.80 per 1M tokens, and image output costs $35.20 per 1M tokens. The default configuration is about 12% below the provider list price.

أبرز مزايا gpt-image-1

OpenAI Image Generation

Access gpt-image-1 from OpenAI’s GPT Image family through APISea.

Separate Input Rates

Text input and image input have distinct token rates, making it possible to budget each input type separately.

Prompt Cache Reads

The model supports prompt-cache reads. Cached text input costs $1.10 per 1M tokens, and cached image input costs $2.20 per 1M tokens.

Below List Pricing

The default configuration is about 12% below the provider list price. APISea bills only successful requests.

كيفية استدعاء API الخاص بـ gpt-image-1 في 4 خطوات

  1. 01

    احصل على API key

    سجّل الدخول إلى APISea، واشحن رصيدك بدءًا من $50، وأنشئ مفتاح sk-sea من وحدة التحكم.

  2. 02

    اضبط عنوان URL الأساسي

    استخدم https://api.apisea.ai/v1 عنوانًا أساسيًا في SDK أو عميل HTTP.

  3. 03

    أرسل الطلب

    استدعِ POST /v1/images/generations مع "model": "gpt-image-1" والمعلمات أدناه.

  4. 04

    تعامل مع الاستجابة

    تتضمن الاستجابة task_id. أرسل طلبات GET /v1/tasks/{task_id} دوريًا حتى تصبح الحالة completed، ثم نزّل روابط النتائج.

curl --request POST \
  --url https://api.apisea.ai/v1/images/generations \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
    "model": "gpt-image-1",
    "prompt": "An ancient castle under a starry sky",
    "size": "1:1",
    "quality": "auto",
    "n": 1
  }'

المعلمات

المعلمةالنوعمطلوبافتراضيالوصف
modelstringمطلوب—Model name
nsfw_checkbooleanاختياريfalseWhether to run content moderation before submitting the image task.
promptstringمطلوب—Text description for image generation, supports both Chinese and English
sizestringاختياري1:1Aspect ratio
nintegerاختياري1Number of images to generate
qualitystringاختياريautoImage quality
backgroundstringاختياريautoBackground mode
moderationstringاختياريautoModeration level
output_formatstringاختياريpngOutput format
output_compressionintegerاختياري—Output compression level, range 0-100
image_urlsarrayاختياري—Array of reference image URLs, enables image-to-image mode when provided
mask_urlstringاختياري—Mask image URL for inpainting

ما الذي يمكنك إنشاؤه باستخدام gpt-image-1

Creative Concept Tools

Build an interface that turns a team’s visual briefs into generated images for review and exploration.

Campaign Asset Workflows

Add image generation to a marketing workflow for creating draft visuals from campaign descriptions.

Editorial Illustration Drafts

Help content teams explore image concepts for articles and other publishing projects.

In-App Image Creation

Offer image generation inside your application through APISea’s shared API access and pay-as-you-go billing.

نصائح للحصول على نتائج أفضل

  • 01

    Use the Exact ID

    Select gpt-image-1 using the model ID gpt-image-1. No alternative callable names are listed.

  • 02

    Budget by Token Type

    Estimate text input, image input, and image output separately. Image output costs $35.20 per 1M tokens, so input pricing alone does not represent the total request cost.

  • 03

    Check Cache Eligibility

    When planning repeated inputs, check the applicable prompt-cache requirements. Supported cache reads have separate rates of $1.10 per 1M tokens for cached text input and $2.20 per 1M tokens for cached image input.

  • 04

    Verify Model-Specific Controls

    Confirm supported parameters in the documentation for gpt-image-1. The supplied examples for gpt-image-1.5-official do not establish this model’s aspect ratios, editing controls, or response behavior.

القيود ومعلومات مهمة

  • The listed maximum input is 1,000,000 tokens.

  • The listed maximum output is 128,000 tokens.

  • The supplied generation documentation covers gpt-image-1.5-official, so its controls and limits are not confirmed for gpt-image-1.

الأسئلة الشائعة حول API الخاص بـ gpt-image-1

What is gpt-image-1?

gpt-image-1 is an OpenAI image model in the GPT Image family. APISea offers access with token-based, pay-as-you-go pricing.

How much does gpt-image-1 cost on APISea?

Text input costs $4.40 per 1M tokens, image input costs $8.80 per 1M tokens, and image output costs $35.20 per 1M tokens. Cached text input costs $1.10 per 1M tokens, and cached image input costs $2.20 per 1M tokens. The default configuration is about 12% below the provider list price.

How do I call gpt-image-1 through APISea?

Obtain an APISea API key and use Bearer Token authentication with the base URL https://api.apisea.ai/v1. Select gpt-image-1 and check its model-specific documentation for the request endpoint and payload.

Does gpt-image-1 support editing, transparent backgrounds, or size controls?

The supplied documentation describes those controls for gpt-image-1.5-official, not gpt-image-1. Verify support for the exact model before relying on those parameters.

What are the token limits, and does it support caching?

The listed limits are 1,000,000 input tokens and 128,000 output tokens. Prompt-cache reads are supported, with separate cached text and cached image input rates.

Can I use gpt-image-1 images commercially?

Commercial use is subject to the provider’s terms. Review the applicable OpenAI terms and any requirements relevant to your intended use before publishing or distributing generated images.

نماذج ذات صلة

العمق: أكثر من 250 نموذجًا · الحد الأدنى لشحن الرصيد $50

ابدأ التطوير باستخدام gpt-image-1

مفتاح واحد، وادفع حسب الاستخدام بدءًا من $50؛ ولا تُحتسب الرسوم إلا على الطلبات الناجحة.