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

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


<!-- agent-model-guide-section: breadcrumb_hero owner=API-1798 state=ready -->

[Hermes Agent](https://runapi.ai/hermes-agent.md) / [KIE](https://runapi.ai/models/kie.md)

# Hermes Agent x KIE

The KIE API exposes a utility model from KIE, accessible through RunAPI with a single API key and per-call billing. Developers call KIE 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.

- [Get API Key](https://runapi.ai/login)
- [View Hermes Agent Docs](https://runapi.ai/docs/guides)

<!-- agent-model-guide-section: key_facts owner=API-1800 state=ready -->
2 variants · from $0.01 / call · Commercial OK


<!-- agent-model-guide-section: prompt_terminal owner=API-1808 state=ready -->
## Prompt

Prerequisite: `npx runapi mcp install`

```text
You have access to RunAPI task tools for KIE.

Available KIE models:
- kie-upscale-image: Image upscaling up to 8x with output pixel limits
  endpoints: /api/v1/kie/upscale_image
  request fields: model, source_image_url, upscale_factor
- kie-upscale-video: Video upscaling to 1080P, 2K, or 4K
  endpoints: /api/v1/kie/upscale_video
  request fields: model, source_video_url, resolution

Use the model ID and endpoint that match the user's request.
Example prompt: Generate a 4K product hero image of a matte-black water bottle on a beige stone surface, soft side light.
/api/v1/kie/upscale_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/kie/upscale_image and save the returned Task id.
GET /api/v1/kie/upscale_image/<task-id> until status is completed or failed.
Verify the completed response contains the endpoint-specific output documented in the API reference.
/api/v1/kie/upscale_video: Submit the task, poll for its status, then verify the completed output. POST /api/v1/kie/upscale_video and save the returned Task id.
GET /api/v1/kie/upscale_video/<task-id> until status is completed or failed.
Verify the completed response contains the endpoint-specific output documented in the API reference.
```





<!-- agent-model-guide-section: prompt_model_tabs owner=API-1812 state=ready -->
## Prompt models

Use RunAPI with KIE through this guide.

Available KIE models:

- `kie-upscale-image`: Image upscaling up to 8x with output pixel limits
- `kie-upscale-video`: Video upscaling to 1080P, 2K, or 4K
Use kie-upscale-image when it matches the task: Image upscaling up to 8x with output pixel limits.



<!-- agent-model-guide-section: versions_endpoints owner=API-1817 state=runtime_fallback -->

## Public Versions and Endpoints

| Model ID | Version | Endpoints | Price |
| --- | --- | --- | --- |
| `kie-upscale-image` | Image upscaling up to 8x with output pixel limits | /api/v1/kie/upscale_image | $0.01 / call |
| `kie-upscale-video` | Video upscaling to 1080P, 2K, or 4K | /api/v1/kie/upscale_video | $0.01 / second |


<!-- agent-model-guide-section: verify_code_block owner=API-1824 state=runtime_fallback -->

## Verify

Poll until the task reaches a terminal status

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.



## 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<endpoint> \
  -H "Authorization: Bearer $RUNAPI_API_KEY" \
  -H "Content-Type: application/json" \
  -d @request.json
```


<!-- agent-model-guide-section: three_step_flow owner=API-1830 state=ready -->

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



<!-- agent-model-guide-section: use_case_cards owner=API-1837 state=ready -->

## What to Build with Hermes Agent + KIE

**Structured results for your code**

Get machine-readable output instead of chat text, so your application can store it, compare it, or act on it directly.

**Enriching your own data**

Run documents, images, or records through the model and keep the results next to the source data for later steps.

**High-volume processing**

Send large batches of inputs with the same RunAPI key and collect the results programmatically.



<!-- agent-model-guide-section: benefit_cards owner=API-1844 state=ready -->

## Why Use KIE Through RunAPI + Hermes Agent

**2 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.




<!-- agent-model-guide-section: faq owner=API-1851 state=ready -->

## Hermes Agent + KIE Questions

### How do the upscale models differ?

The image model enlarges images by 1x, 2x, 4x, or 8x. The video model targets 1080P, 2K, or 4K.

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




<!-- agent-model-guide-section: related_guides owner=API-1859 state=ready -->

## More Hermes Agent Guides

- [Hermes Agent x Claude](https://runapi.ai/hermes-claude.md) - Anthropic · Text · from $0.08 / 1M tokens
- [Hermes Agent x DeepSeek](https://runapi.ai/hermes-deepseek.md) - DeepSeek · Text · from $0.24 / 1M tokens
- [Hermes Agent x Embedding](https://runapi.ai/hermes-embedding.md) - OpenAI · Text · from $0.02 / 1M tokens
- [Hermes Agent x Fish Audio](https://runapi.ai/hermes-fish-audio.md) - Fish Audio · Audio & Music · from $0.02 / 1K UTF-8 bytes


<!-- agent-model-guide-section: final_cta owner=API-1866 state=ready -->

## Start using KIE with Hermes Agent

- [Get API Key](https://runapi.ai/login)
- [Read Quickstart](https://runapi.ai/docs/guides)


<!-- agent-model-guide-section: team_contact_cta owner=API-1873 state=ready -->
## Building with a team?

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

[Contact Us](https://runapi.ai/contact.md)




<!-- agent-model-guide-section: footer owner=API-1880 state=shared -->


---

## More from RunAPI

- [Home](https://runapi.ai/.md)
### Product
- [Model Catalog](https://runapi.ai/models.md)
- [Pricing](https://runapi.ai/pricing.md)
- [Providers](https://runapi.ai/models#all-models)
- [Prompt Gallery](https://runapi.ai/prompts.md)
### Developers
- [Documentation](https://runapi.ai/docs/guides)
- [SDKs](https://runapi.ai/sdk.md)
- [CLI](https://runapi.ai/cli.md)
- [MCP Server](https://runapi.ai/mcp.md)
- [x402](https://runapi.ai/x402.md)
### Guides
- [Claude Code vs Cursor](https://runapi.ai/claude-code-vs-cursor.md)
- [Cursor API Setup](https://runapi.ai/cursor-api-setup.md)
- [RunAPI vs OpenRouter](https://runapi.ai/openrouter-alternative.md)
### Company
- [Enterprise](https://runapi.ai/contact.md)
- [Referral program](https://runapi.ai/referral-program.md)
- [Contact](https://runapi.ai/contact.md)
### Legal
- [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 KIE",
    "applicationCategory": "DeveloperApplication",
    "description": "Use KIE with Hermes Agent through RunAPI. Compare current model IDs, endpoints, and prices, then follow the matching configuration workflow.",
    "url": "https://runapi.ai/hermes-kie"
  },
  {
    "@context": "https://schema.org",
    "inLanguage": "en",
    "@type": "FAQPage",
    "mainEntity": [
      {
        "@type": "Question",
        "name": "How do the upscale models differ?",
        "acceptedAnswer": {
          "@type": "Answer",
          "text": "The image model enlarges images by 1x, 2x, 4x, or 8x. The video model targets 1080P, 2K, or 4K."
        }
      },
      {
        "@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 KIE 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-kie#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-kie#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-kie#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": "KIE",
        "item": "https://runapi.ai/hermes-kie"
      }
    ]
  }
]
```
