2 actions · from $0.004 / image
Image generation
Image generation API for AI agents
Text to image and image editing, up to 4K. Image generation gives your agent 2 actions through one OMOB API key, starting from $0.004 / image, billed per call to one prepaid balance. It works from ChatGPT and Claude through one MCP connector, and from the SDK, CLI or REST.
Generate an image from a prompt, or change one you already have. Billed per image.
Part of AI models
What agents use Image generation for
Make a product shot or a thumbnail from a prompt.
image.generate· $0.004 / imageEdit an existing image: swap the background or change the style.
image.edit· $0.04 / image
Actions
Every action: POST /v1/tools/runs { "tool": "<name>", "input": { … } }
- Image generation
Generate image
image.generate
An image from a prompt.
Parameters Parameter Description promptstring · requiredDescribe the image you want: subject, setting, style, light. aspect"1:1" | "4:5" | "16:9" | "9:16"Shape of the image: square, portrait, wide or tall. characterstringDraw a character you trained (its chr_ id or name), so the face stays the same across images. character_strengthnumber0.5-1: how strictly the character's face is held. Only with character. Example response
{ "object": "image", "prompt": "a ceramic mug on a walnut desk, morning light", "aspect": "1:1", "url": "https://files.omob.app/img_01JDX7.png", "width": 2048, "height": 2048 }$0.004 / image - Image generation
Edit image
image.edit
Change an image from a prompt.
Parameters Parameter Description imagestring · requiredLink to the image to change (https), or the file id (fil_…) of an image you made. promptstring · requiredWhat to change, in plain words. Example response
{ "object": "image", "url": "https://files.omob.app/img_01JDX9.png" }$0.04 / image
Pricing
from $0.004 / image
Billed per call to one prepaid balance. No vendor accounts, no subscription.
Use it from ChatGPT, Claude, the SDK or the CLI
import { createOMOB } from "@omob-sdk/omob"; const omob = createOMOB(); // reads OMOB_API_KEYconst run = await omob.tools.run("image.generate", {"prompt":"a ceramic mug on a walnut desk, morning light","aspect":"1:1"}, { wait: true });console.log(run.output);
Image generation API: questions
- How do I get an Image generation API key for my agent?
- You do not need a separate Image generation key or account. Sign up at developers.omob.app, create one OMOB API key, and your agent calls every Image generation action with it, from the SDK, the CLI, REST or the MCP connector.
- How much does the Image generation API cost?
- Image generation actions start from $0.004 / image, billed per call to one prepaid balance. Each action's price is listed on this page, and you only pay for calls that run.
- Is there a free tier?
- Yes. Every new developer account gets $1 of free credit, no card, and tool calls like these run on it. After that you top up a prepaid balance; there is no subscription.
- Can ChatGPT or Claude use Image generation?
- Yes. Add OMOB as a connector with the URL https://mcp.omob.app/v1/mcp and sign in; then ask in plain words and the assistant finds and runs the Image generation actions for you. Claude Code, Codex and other MCP clients use the same URL. In ChatGPT, custom connectors need a Business, Enterprise or Edu workspace; on Plus or Free, use Claude.
Related tools
- OMOB
Text or image to video with sound, 5–15 s.
1 action$0.05per second - OMOB
Text to speech, dialogue, voice changer and voice isolation.
5 actionsfrom $0.002per second - OMOB
Instrumental tracks and sound effects.
1 action$0.0025per second
