OMOB
Back to Primitives

2 actions · from $0.004 / image

Image generation

Image generation API for AI agents

OMOBTool

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 / image

  • Edit 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
    ParameterDescription
    prompt
    string · required
    Describe 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.
    character
    string
    Draw a character you trained (its chr_ id or name), so the face stays the same across images.
    character_strength
    number
    0.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
    ParameterDescription
    image
    string · required
    Link to the image to change (https), or the file id (fil_…) of an image you made.
    prompt
    string · required
    What 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.

    $0.05
    per second
    1 action
  • OMOB

    Text to speech, dialogue, voice changer and voice isolation.

    from $0.002
    per second
    5 actions
  • OMOB

    Instrumental tracks and sound effects.

    $0.0025
    per second
    1 action