---
title: دليل Hermes Agent x GPT Image 2 | RunAPI
description: استخدم GPT Image 2 مع Hermes Agent عبر RunAPI. قارن معرّفات النماذج ونقاط النهاية والأسعار الحالية، ثم اتبع مسار الإعداد المناسب.
url: https://runapi.ai/ar/hermes-gpt-image-2.md
canonical: https://runapi.ai/ar/hermes-gpt-image-2
locale: ar
site: RunAPI
image: https://runapi.ai/assets/opengraph-f702f2b1.png
alternates:
  en: https://runapi.ai/hermes-gpt-image-2
  zh-CN: https://runapi.ai/zh-CN/hermes-gpt-image-2
  es: https://runapi.ai/es/hermes-gpt-image-2
  ja: https://runapi.ai/ja/hermes-gpt-image-2
  de: https://runapi.ai/de/hermes-gpt-image-2
  fr: https://runapi.ai/fr/hermes-gpt-image-2
  pt-BR: https://runapi.ai/pt-BR/hermes-gpt-image-2
  ko: https://runapi.ai/ko/hermes-gpt-image-2
  it: https://runapi.ai/it/hermes-gpt-image-2
  nl: https://runapi.ai/nl/hermes-gpt-image-2
  pl: https://runapi.ai/pl/hermes-gpt-image-2
  tr: https://runapi.ai/tr/hermes-gpt-image-2
  zh-TW: https://runapi.ai/zh-TW/hermes-gpt-image-2
  zh-HK: https://runapi.ai/zh-HK/hermes-gpt-image-2
  ar: https://runapi.ai/ar/hermes-gpt-image-2
  x-default: https://runapi.ai/hermes-gpt-image-2
model_line: gpt-image-2
---

> HTML version: https://runapi.ai/ar/hermes-gpt-image-2
> Site index for agents: https://runapi.ai/llms.txt

# Hermes Agent x GPT Image 2

GPT Image 2 is OpenAI's newest image model, notable for near-perfect multilingual text rendering. Through RunAPI, both text-to-image and image editing endpoints share one key.

## الإصدارات ونقاط النهاية العامة

| معرّف النموذج | الإصدار | نقاط النهاية | السعر الابتدائي |
| --- | --- | --- | --- |
| `gpt-image-2` | gpt-image-2 | /api/v1/gpt_image_2/text_to_image, /api/v1/gpt_image_2/edit_image | $0.060 |

## الإعداد

اضبط `RUNAPI_API_KEY`، ثم أنشئ طلبًا يتضمن `<model-id>` على `<endpoint>`. لا تستعلم عن الحالة إلا إذا أعادت نقطة النهاية Task غير متزامنة.

```shell
export RUNAPI_API_KEY=your_api_key

curl -X POST https://runapi.ai/api/v1/gpt_image_2/text_to_image \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "gpt-image-2",
  "prompt": "A cobalt vase on white marble."
}'
```


## التحقق


أرسل POST إلى /api/v1/gpt_image_2/text_to_image واحفظ معرّف Task المُعاد.
أرسل GET إلى /api/v1/gpt_image_2/text_to_image/<task-id> حتى تصبح الحالة completed أو failed.
تحقق من أن استجابة completed تحتوي على المخرجات الخاصة بنقطة النهاية والموثقة في مرجع API.


## آلية العمل

1. **اختر معرّف نموذج.** اختر معرّف نموذج عامًا من الكتالوج وراجع نقطة النهاية وسعر البداية الحالي.
2. **اضبط RunAPI.** اضبط RUNAPI_API_KEY قبل إرسال الطلب إلى نقطة النهاية.
3. **تحقق من النتيجة.** لنقاط النهاية غير المتزامنة، استعلم من نقطة النهاية نفسها حتى تصل Task إلى حالة نهائية.

## الأسئلة الشائعة

### أي معرّف نموذج أستخدم؟

اختر معرّف نموذج عامًا من جدول الإصدارات. يعرض كل معرّف نقاط النهاية الموضحة في صفه.

### هل يضبط هذا الدليل نموذج محادثة؟

لا. يستخدم Model Line هذا مسار نقطة النهاية الموضح هنا ولا يُعرض كنموذج محادثة للوكيل.


### الروابط

- [Hermes Agent](https://runapi.ai/ar/hermes-agent)
- [GPT Image 2 - الكتالوج](https://runapi.ai/ar/models/gpt-image-2)
- [gpt-image-2](https://runapi.ai/ar/models/gpt-image-2/gpt-image-2)

---

## More from RunAPI

- [Home](https://runapi.ai/ar/.md)
- [النماذج](https://runapi.ai/ar/models.md)
- [مقارنة API فيديو الذكاء الاصطناعي](https://runapi.ai/ar/ai-video-api-comparison.md)
- [تكامل OpenClaw](https://runapi.ai/ar/openclaw.md)
- [أفضل API لـ OpenClaw](https://runapi.ai/ar/best-api-for-openclaw.md)
- [توليد الصور في OpenClaw](https://runapi.ai/ar/openclaw-image-generation.md)
- [تكامل Hermes Agent](https://runapi.ai/ar/hermes-agent.md)
- [الأسعار](https://runapi.ai/ar/pricing.md)
- [أسعار Claude API](https://runapi.ai/ar/claude-api-pricing.md)
- [أسعار ChatGPT API](https://runapi.ai/ar/chatgpt-api-pricing.md)
- [أسعار OpenAI API](https://runapi.ai/ar/openai-api-pricing.md)
- [أسعار Gemini API](https://runapi.ai/ar/gemini-api-pricing.md)
- [أسعار Claude Code](https://runapi.ai/ar/claude-code-pricing.md)
- [Claude Code API](https://runapi.ai/ar/claude-code-api.md)
- [Claude Code مقابل Cursor](https://runapi.ai/ar/claude-code-vs-cursor.md)
- [Claude Max مقابل API](https://runapi.ai/ar/claude-max-vs-api.md)
- [بديل Requesty](https://runapi.ai/ar/requesty-alternative.md)
- [التوثيق](https://runapi.ai/ar/docs/guides)
- [SDK](https://runapi.ai/ar/sdk.md)
- [المهارات](https://runapi.ai/ar/skills.md)
- [خادم MCP](https://runapi.ai/ar/mcp.md)
- [CLI](https://runapi.ai/ar/cli.md)
- [الملاحظات](https://runapi.makethisbetter.dev)
- [اتصل بنا](mailto:support@runapi.ai)
- [الشروط](https://runapi.ai/ar/terms.md)
- [الخصوصية](https://runapi.ai/ar/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "ar",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/ar",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/ar/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ar",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/ar",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/aricon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ar",
    "@type": "SoftwareApplication",
    "name": "Hermes Agent x GPT Image 2",
    "applicationCategory": "DeveloperApplication",
    "description": "استخدم GPT Image 2 مع Hermes Agent عبر RunAPI. قارن معرّفات النماذج ونقاط النهاية والأسعار الحالية، ثم اتبع مسار الإعداد المناسب.",
    "url": "https://runapi.ai/ar/hermes-gpt-image-2"
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ar",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "أي معرّف نموذج أستخدم؟",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "اختر معرّف نموذج عامًا من جدول الإصدارات. يعرض كل معرّف نقاط النهاية الموضحة في صفه."
        }
      },
      {
        "@type": "Question",
        "name": "هل يضبط هذا الدليل نموذج محادثة؟",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "لا. يستخدم Model Line هذا مسار نقطة النهاية الموضح هنا ولا يُعرض كنموذج محادثة للوكيل."
        }
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ar",
    "@type": "HowTo",
    "name": "استخدام GPT Image 2 مع Hermes Agent",
    "step": [
      {
        "@type": "HowToStep",
        "position": 1,
        "name": "اختر معرّف نموذج",
        "text": "اختر معرّف نموذج عامًا من الكتالوج وراجع نقطة النهاية وسعر البداية الحالي.",
        "url": "https://runapi.ai/ar/hermes-gpt-image-2#how-step-1"
      },
      {
        "@type": "HowToStep",
        "position": 2,
        "name": "اضبط RunAPI",
        "text": "اضبط RUNAPI_API_KEY قبل إرسال الطلب إلى نقطة النهاية.",
        "url": "https://runapi.ai/ar/hermes-gpt-image-2#how-step-2"
      },
      {
        "@type": "HowToStep",
        "position": 3,
        "name": "تحقق من النتيجة",
        "text": "لنقاط النهاية غير المتزامنة، استعلم من نقطة النهاية نفسها حتى تصل Task إلى حالة نهائية.",
        "url": "https://runapi.ai/ar/hermes-gpt-image-2#how-step-3"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "ar",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "الرئيسية",
        "item": "https://runapi.ai/ar"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Hermes Agent",
        "item": "https://runapi.ai/ar/hermes-agent"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "GPT Image 2",
        "item": "https://runapi.ai/ar/hermes-gpt-image-2"
      }
    ]
  }
]
```
