Public Versions and Endpoints
| Model ID | Endpoints | Price | Catalog |
|---|---|---|---|
gpt-image-2
|
/api/v1/gpt_image_2/text_to_image
/api/v1/gpt_image_2/edit_image
|
$0.06 / call | Model detail |
Verify
Poll until the task reaches a terminal status
POST /api/v1/gpt_image_2/text_to_image and save the returned Task id.
GET /api/v1/gpt_image_2/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.
Configuration
Guide endpoint: /api/v1/gpt_image_2/text_to_image
export RUNAPI_API_KEY=your_api_key
curl -X POST https://runapi.ai/api/v1/gpt_image_2/text_to_image \
-H "Authorization: Bearer $RUNAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "gpt-image-2",
"prompt": "A cobalt vase on white marble."
}'
Get Started in 3 Steps
-
Choose a model ID
Select a public catalog model ID and review its endpoint and current starting price.
-
Configure RunAPI
Set RUNAPI_API_KEY before making the endpoint request.
-
Verify the result
For asynchronous endpoints, poll the same endpoint until the Task reaches a terminal status.
What to Build with Hermes Agent + GPT Image 2
-
Product photos for listings and catalogs
Generate product shots in listing-friendly aspect ratios such as 1:1 or 4:5, at up to 4k resolution, for catalogs, marketplaces, and marketing materials.
-
Social media campaign graphics
Create social visuals with embedded text, brand colors, and consistent styling across a campaign.
-
Cinematic stills for video workflows
Generate cinematic stills that can serve as first frames for video generation or as standalone editorial illustrations.
Why Use GPT Image 2 Through RunAPI + Hermes Agent
-
1 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 + GPT Image 2 Questions
Can I use GPT Image 2 in Hermes Agent?
Yes. Hermes Agent calls GPT Image 2 through the RunAPI endpoints shown on this page, with the same RunAPI API key you configured for chat.
Can Hermes Agent edit images with GPT Image 2 instead of ComfyUI?
Yes. Use the edit endpoint with source images and describe the change in natural language, with no workflow graphs, GPU instance, or masks.
Does quality change over repeated editing passes?
It can degrade, with noise or shading artifacts after several passes. Be specific in the first prompt instead of relying on many refinement rounds.
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.