Graphrt

Ideogram

Generate (4.5 and 3.0), remix, precise edit, inpaint, reframe, upscale, remove background and describe images, with free dry-run price quotes (paid per image)

Beta v0.1.0 Node.js 12 actions
Use in Graphrt Desktop

About

A Graphrt plugin for the Ideogram API v2: generate images with Ideogram 4.5 (strong typography) and 3.0 (styles), remix, precise-edit, inpaint, reframe, upscale, remove backgrounds and describe images as structured prompts. Images are saved into a local folder. Built with the declarative REST layer.

What it can do

  • Generate: generate_image (Ideogram 4.5, optionally editing one source image with a mask), generate_image_v3 (Ideogram 3.0 with rendering speed, style type, preset, style codes and a style reference)
  • Edit: remix_image, precise_edit (4.5: only the requested change, other pixels copied exactly), inpaint_image, reframe_image, upscale_image, remove_background
  • Describe: describe_image (image to an Ideogram 4.0 JSON prompt)
  • Read: get_generation (status and images by id), get_usage (usage and spend buckets, free)
  • dry_run on every paid image operation: validates and prices the request without generating or billing.
  • api_request: any other endpoint (GET only when called by an agent)

Actions

Each action is a step you can add to a workflow. Agents can also use most of them as tools.

  • Generate image (Ideogram 4.5) ideogram.generate_image
  • Generate image (Ideogram 3.0) ideogram.generate_image_v3
  • Remix image (Ideogram 3.0) ideogram.remix_image
  • Precise edit (Ideogram 4.5) ideogram.precise_edit
  • Inpaint (Ideogram 3.0) ideogram.inpaint_image
  • Reframe (Ideogram 3.0) ideogram.reframe_image
  • Upscale image ideogram.upscale_image
  • Remove background ideogram.remove_background
  • Describe image (Ideogram 4.0) ideogram.describe_image
  • Get generation ideogram.get_generation
Show all 12 actions
  • Get usage and spend ideogram.get_usage
  • Ideogram API request ideogram.api_request

Settings

Graphrt starts plugins with a clean environment. Only these values reach the plugin, and secrets stay out of logs.

  • IDEOGRAM_API_KEY Required
    API key from the API dashboard > API Keys (sent as the Api-Key header, every key has full access to the API account)
  • IDEOGRAM_OUTPUT_DIR For files
    Absolute directory where images are saved. Unset: nothing is downloaded and the result keeps Ideogram's URLs, which expire
  • IDEOGRAM_UPLOAD_DIR For local uploads
    Absolute directory that image/mask inputs may be read from. Unset: only https URLs are accepted

How to use it

In Graphrt Desktop

  1. Open Plugins and search for Ideogram.
  2. Click Install and approve it.
  3. Follow the setup steps on the plugin's page, then paste the settings it needs.
  4. Describe a job that needs it, and the builder adds the steps.
Plugins in Graphrt Desktop

With the CLI

terminal
$ graphrt plugin install ideogram
workflow.yaml
- id: quote
  type: ideogram.generate_image
  prompt: "A bold poster that says GRAPHRT in hand-lettered type"
  quality: medium
  dry_run: true
- id: poster
  type: ideogram.generate_image
  prompt: "A bold poster that says GRAPHRT in hand-lettered type"
  quality: medium
Plugins in the docs