---
title: "Hermes Agent x GPT-4o Image guide"
url: "https://runapi.ai/hermes-gpt-4o-image.md"
canonical: "https://runapi.ai/hermes-gpt-4o-image"
locale: "en"
model_line: "gpt-4o-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.

## Public versions and endpoints

| Model ID | Version | Endpoints | Starting price |
| --- | --- | --- | --- |
| `gpt-4o-image` | gpt-4o-image | /api/v1/gpt_4o_image/text_to_image | $0.060 |

## Configuration

Set `RUNAPI_API_KEY`, then create a request with `<model-id>` at `<endpoint>`. Poll only when the endpoint returns an asynchronous Task.

```shell
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"
}'
```

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.

## Additional operations


## How it works

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.

## FAQ

### 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.


## Links

- [Hermes Agent](https://runapi.ai/hermes-agent)
- [GPT-4o Image - Catalog](https://runapi.ai/models/gpt-4o-image)
- [gpt-4o-image](https://runapi.ai/models/gpt-4o-image/gpt-4o-image)

```json
{
  "@context": "https://schema.org",
  "@type": "SoftwareApplication",
  "name": "Hermes Agent x GPT-4o Image",
  "url": "https://runapi.ai/hermes-gpt-4o-image"
}
```
