Graphrt

Ideogram

Generate (4.5 dan 3.0), remix, edit presisi, inpaint, reframe, upscale, hapus background dan deskripsikan gambar, dengan estimasi harga dry run gratis (dibayar per gambar)

Beta v0.1.0 Node.js 12 aksi
Pakai di Graphrt Desktop

Tentang

Plugin Graphrt untuk Ideogram API v2. Buat gambar dengan Ideogram 4.5 (tipografi kuat) dan 3.0 (gaya), remix, edit presisi, inpaint, reframe, upscale, hapus background dan deskripsikan gambar sebagai prompt terstruktur. Gambar disimpan ke folder lokal. Dibuat dengan lapisan REST deklaratif.

Yang bisa dilakukan

  • 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)

Aksi

Setiap aksi adalah langkah yang bisa ditambahkan ke workflow. Agent juga bisa memakai sebagian besar aksi sebagai tool.

  • 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
Tampilkan semua 12 aksi
  • Get usage and spend ideogram.get_usage
  • Ideogram API request ideogram.api_request

Pengaturan

Graphrt menyalakan plugin dengan environment yang bersih. Hanya nilai ini yang sampai ke plugin, dan secret tidak masuk log.

  • IDEOGRAM_API_KEY Wajib
    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

Cara memakainya

Di Graphrt Desktop

  1. Buka Plugins dan cari Ideogram.
  2. Klik Install lalu setujui.
  3. Ikuti langkah setup di halaman plugin, lalu tempel pengaturan yang dibutuhkan.
  4. Jelaskan pekerjaan yang membutuhkannya, dan builder menambahkan langkahnya.
Plugin di Graphrt Desktop

Dengan 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
Plugin di docs