Alibaba · Image

Hermes Agent x Qwen 3

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

4 variants from $0.02 / call Commercial OK

Prerequisite: npx runapi mcp install

Prompt

Prompt models

Use qwen-3-edit-image when it matches the task: Standard Qwen 3 editing with up to three source images.

You have access to RunAPI task tools for Qwen 3.

Available Qwen 3 models:
- qwen-3-edit-image: Standard Qwen 3 editing with up to three source images
  endpoints: /api/v1/qwen_3/edit_image
  request fields: model, prompt, source_image_urls, output_resolution
- qwen-3-pro-edit-image: Pro editing with up to three source images and 2K output
  endpoints: /api/v1/qwen_3/edit_image
  request fields: model, prompt, source_image_urls, output_resolution
- qwen-3-pro-text-to-image: Pro text-to-image with higher-detail 1K and 2K output
  endpoints: /api/v1/qwen_3/text_to_image
  request fields: model, prompt, output_resolution
- qwen-3-text-to-image: Standard Qwen 3 text-to-image at 1K or 2K
  endpoints: /api/v1/qwen_3/text_to_image
  request fields: model, prompt, output_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/qwen_3/edit_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/qwen_3/edit_image and save the returned Task id.
GET /api/v1/qwen_3/edit_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/qwen_3/text_to_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/qwen_3/text_to_image and save the returned Task id.
GET /api/v1/qwen_3/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
qwen-3-edit-image
/api/v1/qwen_3/edit_image
$0.06 / call Model detail
qwen-3-pro-edit-image
/api/v1/qwen_3/edit_image
$0.08 / call Model detail
qwen-3-pro-text-to-image
/api/v1/qwen_3/text_to_image
$0.03 / call Model detail
qwen-3-text-to-image
/api/v1/qwen_3/text_to_image
$0.02 / 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 + Qwen 3

  • Marketing and product visuals

    Generate campaign images, product shots, and social creatives from a written brief.

  • Batch creative variations

    Produce many versions of a concept in one run to compare styles, layouts, and formats.

  • Editing and inpainting

    Refine an existing image by describing changes to its background, objects, or details where the model offers editing endpoints.

Why Use Qwen 3 Through RunAPI + Hermes Agent

  • 4 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 + Qwen 3 Questions

Which Qwen 3 models are available?

RunAPI offers standard and Pro models for both text-to-image generation and image editing.

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 Qwen 3 with Hermes Agent

Building with a team?

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

Contact Us