OpenAI · Image

Hermes Agent x GPT-4o Image

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.

1 variants from $0.060 Commercial OK

Prerequisite: npx runapi mcp install

Prompt

Prompt models

Use gpt-4o-image when it matches the task: gpt-4o-image.

You have access to RunAPI task tools for GPT-4o Image.

Available GPT-4o Image models:
- gpt-4o-image: gpt-4o-image
  endpoints: /api/v1/gpt_4o_image/text_to_image
  request fields: model, prompt, aspect_ratio

Use the model ID and endpoint that match the user's request.
Example prompt: Based on our conversation about the brand redesign, generate a mockup of the new homepage hero section.
/api/v1/gpt_4o_image/text_to_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/gpt_4o_image/text_to_image and save the returned Task id.
GET /api/v1/gpt_4o_image/text_to_image/<task-id> until status is completed or failed.
Verify the completed response contains the endpoint-specific output documented in the API reference.

Public Versions and Endpoints

Model ID Endpoints Price Catalog
gpt-4o-image
/api/v1/gpt_4o_image/text_to_image
$0.060 Model detail

Verify

Poll until the task reaches a terminal status

POST /api/v1/gpt_4o_image/text_to_image and save the returned Task id.
GET /api/v1/gpt_4o_image/text_to_image/<task-id> until status is completed or failed.
Verify the completed response contains the endpoint-specific output documented in the API reference.

Configuration

Guide endpoint: /api/v1/gpt_4o_image/text_to_image

export RUNAPI_API_KEY=your_api_key

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": "A cobalt vase on white marble.",
  "aspect_ratio": "1:1"
}'
How it works

Get Started in 3 Steps

  1. Choose a model ID

    Select a public catalog model ID and review its endpoint and current starting price.

  2. Configure RunAPI

    Set RUNAPI_API_KEY before making the endpoint request.

  3. Verify the result

    For asynchronous endpoints, poll the same endpoint until the Task reaches a terminal status.

What to Build with Hermes Agent + GPT-4o Image

  • Product Demo Videos

    Generate 5–10 second product animations from text descriptions. Ideal for e-commerce listings and social ads.

  • AI Avatar Content

    Create talking-head videos with lip-synced avatars for training materials, customer support, and marketing.

  • Batch Video Production

    Queue hundreds of video generations and collect results through webhook delivery.

Why Use GPT-4o Image Through RunAPI + Hermes Agent

  • 1 variants, one API key

    Use one RunAPI connection to choose among the live model variants without changing your integration.

  • Clear usage pricing

    See current catalog pricing before you send a request, with no subscription or minimum spend required.

  • Automatic task workflows

    Submit, poll, and collect asynchronous results through a consistent task workflow without writing manual polling code.

Hermes Agent + GPT-4o Image Questions

Which model ID should I use?

Choose a public model ID from the version table. Each ID exposes the endpoints shown for that version.

Does this guide configure a chat model?

No. This Model Line uses the endpoint workflow shown here and is not presented as an agent chat model.

Start using GPT-4o Image with Hermes Agent

Building with a team?

We're here to help with enterprise setup, integrations, and technical questions.

Contact Us