Recraft · Utility

Hermes Agent x Recraft

Recraft offers specialized image processing tools for design workflows. Through RunAPI, both crisp upscale and background removal endpoints share one key and pay-per-call billing.

2 variants from $0.01 / call Commercial OK

Prerequisite: npx runapi mcp install

Prompt

Prompt models

Use recraft-crisp-upscale when it matches the task: Neural upscaling that recovers detail without artifacts.

You have access to RunAPI task tools for Recraft.

Available Recraft models:
- recraft-crisp-upscale: Neural upscaling that recovers detail without artifacts
  endpoints: /api/v1/recraft/upscale_image
  request fields: model, source_image_url
- recraft-remove-background: Precise edge detection for product, portrait, and design imagery
  endpoints: /api/v1/recraft/remove_background
  request fields: model, source_image_url

Use the model ID and endpoint that match the user's request.
Example prompt: Remove the background from this product photo and upscale the result to 4K with crisp edges.
/api/v1/recraft/upscale_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/recraft/upscale_image and save the returned Task id.
GET /api/v1/recraft/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/recraft/remove_background: Submit the task, poll for its status, then verify the completed output. POST /api/v1/recraft/remove_background and save the returned Task id.
GET /api/v1/recraft/remove_background/<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
recraft-crisp-upscale
/api/v1/recraft/upscale_image
$0.01 / call Model detail
recraft-remove-background
/api/v1/recraft/remove_background
$0.01 / call Model detail

Verify

Poll until the task reaches a terminal status

Select <model-id> to generate verification commands.

Configuration

Guide endpoint: <endpoint>

Select <model-id> to generate a request with the endpoint's public input contract.
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 + Recraft

  • Post-generation cleanup pipeline

    Run Recraft after any image generation model, passing the output through background removal and upscaling in one workflow.

  • Asset preparation for design systems

    Upscale AI-generated icons and brand assets to production resolution for use across screen sizes.

  • Batch background removal for catalogs

    Process a product catalog through background removal in one Hermes Agent run and collect the isolated images.

Why Use Recraft 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.

Hermes Agent + Recraft Questions

Can I chain Recraft background removal and upscaling in Hermes Agent?

Yes. Both endpoints accept standard image URLs. Have Hermes Agent remove the background first, then pass the output URL to the upscale endpoint through the same RunAPI provider.

How do I switch between upscaling and background removal?

Change the endpoint and model version in the request. Both use the same API key and provider.

Can Hermes Agent process a batch of images through Recraft?

Yes. Hermes Agent can loop over a list of image URLs, call Recraft for each one, and collect the results when the batch completes.

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 Recraft with Hermes Agent

Building with a team?

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

Contact Us