---
title: Hermes Agent x Flux guide | RunAPI
description: Use Flux with Hermes Agent through RunAPI. Compare current model IDs, endpoints, and prices, then follow the matching configuration workflow.
url: https://runapi.ai/hermes-flux.md
canonical: https://runapi.ai/hermes-flux
locale: en
site: RunAPI
image: https://runapi.ai/assets/opengraph-f702f2b1.png
alternates:
  en: https://runapi.ai/hermes-flux
  zh-CN: https://runapi.ai/zh-CN/hermes-flux
  es: https://runapi.ai/es/hermes-flux
  ja: https://runapi.ai/ja/hermes-flux
  de: https://runapi.ai/de/hermes-flux
  fr: https://runapi.ai/fr/hermes-flux
  pt-BR: https://runapi.ai/pt-BR/hermes-flux
  ko: https://runapi.ai/ko/hermes-flux
  it: https://runapi.ai/it/hermes-flux
  nl: https://runapi.ai/nl/hermes-flux
  pl: https://runapi.ai/pl/hermes-flux
  tr: https://runapi.ai/tr/hermes-flux
  zh-TW: https://runapi.ai/zh-TW/hermes-flux
  zh-HK: https://runapi.ai/zh-HK/hermes-flux
  ar: https://runapi.ai/ar/hermes-flux
  x-default: https://runapi.ai/hermes-flux
model_line: flux
---

> HTML version: https://runapi.ai/hermes-flux
> Site index for agents: https://runapi.ai/llms.txt

# Hermes Agent x Flux

The Flux API exposes a image model from Black Forest Labs, accessible through RunAPI with a single API key and per-call billing. Developers call Flux the same way they call any other model in the RunAPI catalog — set the model parameter, submit a request, and receive structured JSON. The model skill packages docs, typed schemas, pricing notes, and setup steps so your coding agent has the right context before you write integration code. Billing is unified across all providers, failed generations are never charged, and results are retrievable by task ID.

## Public versions and endpoints

| Model ID | Version | Endpoints | Starting price |
| --- | --- | --- | --- |
| `flux-2-klein` | Fastest FLUX.2 model for rapid iteration and low-latency applications | /api/v1/flux/text_to_image | $0.030 |
| `flux-dev` | Efficient, guidance-distilled image generation for iterative workflows | /api/v1/flux/text_to_image, /api/v1/flux/remix_image | $0.060 |
| `flux-pro` | High-quality text-to-image with strong prompt adherence and visual detail | /api/v1/flux/text_to_image, /api/v1/flux/remix_image | $0.070 |

## Configuration

Select `<model-id>` before using a command. This page does not select a default model.
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<endpoint> \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d @request.json
```


## Verify


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


## 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)
- [Flux - Catalog](https://runapi.ai/models/flux)
- [flux-2-klein](https://runapi.ai/models/flux/2-klein)
- [flux-dev](https://runapi.ai/models/flux/dev)
- [flux-pro](https://runapi.ai/models/flux/pro)

---

## More from RunAPI

- [Home](https://runapi.ai/.md)
- [Models](https://runapi.ai/models.md)
- [AI Video API Comparison](https://runapi.ai/ai-video-api-comparison.md)
- [OpenClaw Integration](https://runapi.ai/openclaw.md)
- [Best API for OpenClaw](https://runapi.ai/best-api-for-openclaw.md)
- [OpenClaw Image Generation](https://runapi.ai/openclaw-image-generation.md)
- [Hermes Agent Integration](https://runapi.ai/hermes-agent.md)
- [Pricing](https://runapi.ai/pricing.md)
- [Claude API Pricing](https://runapi.ai/claude-api-pricing.md)
- [ChatGPT API Pricing](https://runapi.ai/chatgpt-api-pricing.md)
- [OpenAI API Pricing](https://runapi.ai/openai-api-pricing.md)
- [Gemini API Pricing](https://runapi.ai/gemini-api-pricing.md)
- [Claude Code Pricing](https://runapi.ai/claude-code-pricing.md)
- [Claude Code API](https://runapi.ai/claude-code-api.md)
- [Claude Code vs Cursor](https://runapi.ai/claude-code-vs-cursor.md)
- [Claude Max vs API](https://runapi.ai/claude-max-vs-api.md)
- [Requesty Alternative](https://runapi.ai/requesty-alternative.md)
- [Docs](https://runapi.ai/docs/guides)
- [SDK](https://runapi.ai/sdk.md)
- [Skills](https://runapi.ai/skills.md)
- [MCP Server](https://runapi.ai/mcp.md)
- [CLI](https://runapi.ai/cli.md)
- [Feedback](https://runapi.makethisbetter.dev)
- [Contact](mailto:support@runapi.ai)
- [Terms](https://runapi.ai/terms.md)
- [Privacy](https://runapi.ai/privacy.md)
- [Site index for agents](https://runapi.ai/llms.txt)

Contact: contact@runapi.ai

## Structured data

```json
[
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "WebSite",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "potentialAction": {
      "@type": "SearchAction",
      "target": {
        "@type": "EntryPoint",
        "urlTemplate": "https://runapi.ai/models?q={search_term_string}"
      },
      "query-input": "required name=search_term_string"
    }
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "Organization",
    "name": "RunAPI",
    "url": "https://runapi.ai/",
    "logo": {
      "@type": "ImageObject",
      "url": "https://runapi.ai/icon.svg"
    },
    "sameAs": [
      "https://github.com/runapi-ai"
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "SoftwareApplication",
    "name": "Hermes Agent x Flux",
    "applicationCategory": "DeveloperApplication",
    "description": "Use Flux with Hermes Agent through RunAPI. Compare current model IDs, endpoints, and prices, then follow the matching configuration workflow.",
    "url": "https://runapi.ai/hermes-flux"
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "Which model ID should I use?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "Choose a public model ID from the version table. Each ID exposes the endpoints shown for that version."
        }
      },
      {
        "@type": "Question",
        "name": "Does this guide configure a chat model?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "No. This Model Line uses the endpoint workflow shown here and is not presented as an agent chat model."
        }
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "HowTo",
    "name": "Use Flux with Hermes Agent",
    "step": [
      {
        "@type": "HowToStep",
        "position": 1,
        "name": "Choose a model ID",
        "text": "Select a public catalog model ID and review its endpoint and current starting price.",
        "url": "https://runapi.ai/hermes-flux#how-step-1"
      },
      {
        "@type": "HowToStep",
        "position": 2,
        "name": "Configure RunAPI",
        "text": "Set RUNAPI_API_KEY before making the endpoint request.",
        "url": "https://runapi.ai/hermes-flux#how-step-2"
      },
      {
        "@type": "HowToStep",
        "position": 3,
        "name": "Verify the result",
        "text": "For asynchronous endpoints, poll the same endpoint until the Task reaches a terminal status.",
        "url": "https://runapi.ai/hermes-flux#how-step-3"
      }
    ]
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "BreadcrumbList",
    "itemListElement": [
      {
        "@type": "ListItem",
        "position": 1,
        "name": "Home",
        "item": "https://runapi.ai/"
      },
      {
        "@type": "ListItem",
        "position": 2,
        "name": "Hermes Agent",
        "item": "https://runapi.ai/hermes-agent"
      },
      {
        "@type": "ListItem",
        "position": 3,
        "name": "Flux",
        "item": "https://runapi.ai/hermes-flux"
      }
    ]
  }
]
```
