Google · Image

Hermes Agent x Imagen 4

Imagen 4 is Google's latest text-to-image model, delivering photorealistic results with broad style support. Through RunAPI, every Imagen 4 variant shares one API key.

4 variants from $0.04 / call Commercial OK

Prerequisite: npx runapi mcp install

Prompt

Prompt models

Use imagen-4 when it matches the task: Balanced quality and speed; recommended default.

You have access to RunAPI task tools for Imagen 4.

Available Imagen 4 models:
- imagen-4: Balanced quality and speed; recommended default
  endpoints: /api/v1/imagen_4/text_to_image
  request fields: model, prompt, aspect_ratio
- imagen-4-fast: ~2.7s generation; rapid iteration and drafts
  endpoints: /api/v1/imagen_4/text_to_image
  request fields: model, prompt, aspect_ratio
- imagen-4-pro-remix-image: Prompt-guided remix variant; source images to styled output
  endpoints: /api/v1/imagen_4/remix_image
  request fields: model, prompt, source_image_urls
- imagen-4-ultra: Maximum photorealism and prompt adherence; brand/marketing grade
  endpoints: /api/v1/imagen_4/text_to_image
  request fields: model, prompt, aspect_ratio

Use the model ID and endpoint that match the user's request.
Example prompt: Generate a product hero image of a matte-black water bottle on a beige stone surface, soft side light.
/api/v1/imagen_4/text_to_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/imagen_4/text_to_image and save the returned Task id.
GET /api/v1/imagen_4/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.
/api/v1/imagen_4/remix_image: Submit the task, poll for its status, then verify the completed output. POST /api/v1/imagen_4/remix_image and save the returned Task id.
GET /api/v1/imagen_4/remix_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
imagen-4
/api/v1/imagen_4/text_to_image
$0.08 / call Model detail
imagen-4-fast
/api/v1/imagen_4/text_to_image
$0.04 / call Model detail
imagen-4-pro-remix-image
/api/v1/imagen_4/remix_image
$0.24 / call Model detail
imagen-4-ultra
/api/v1/imagen_4/text_to_image
$0.12 / 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 + Imagen 4

  • Team-friendly image generation

    Non-technical team members can adjust prompts and get usable images, because Imagen 4 follows prompts closely without heavy prompt engineering.

  • Editorial photography

    Generate editorial-style photography of landscapes, food, architecture, and lifestyle scenes with accurate lighting and natural color.

  • Cost-optimized batch generation

    Mix tiers within one workflow, using a faster tier for draft rounds and a higher tier for final selects.

Why Use Imagen 4 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 + Imagen 4 Questions

Can I use Imagen 4 in Hermes Agent?

Yes. Hermes Agent calls Imagen 4 through the RunAPI endpoint shown on this page, with the same RunAPI API key you configured for chat. No ComfyUI or GPU rental is required.

How do the Imagen 4 tiers differ?

The faster tier suits drafts and concept exploration, the standard tier suits production work, and the highest tier produces the most detail for hero or print assets. Switch tiers by changing the model version.

How strict are Imagen 4's content filters?

Imagen 4 filters can flag some harmless prompts, especially around people and brand imagery. If a generation is rejected, rephrase the prompt to state the intended context more clearly.

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 Imagen 4 with Hermes Agent

Building with a team?

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

Contact Us