翻篇收录说明
翻篇网页快照

AI Image Generator API and Video API, Pay as You Go

https://ideogram.ai/api-learn/

最近抓取:2026-12-03 03:58:47(北京时间)

最近内容变化:2026-12-03 03:58:47(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

One API key for Ideogram, GPT Image, Nano Banana, Seedance, Kling and MiniMax. Images from US $0.008, pay as you go, and a free price quote first.

正文摘录

Which image and video models can one API key call? One key calls Ideogram's own image models and image, upscaling and video models from OpenAI, Google, ByteDance, Kuaishou, MiniMax and Topaz. Each model has a model string, and you pay the published rate for the model you call. Prices as of December 2, 2026. Image models in the Ideogram API, with model strings and prices Image model Made by Model string Price Ideogram 4.6 Ideogram ideogram-4-6 From US $0.008 per image Ideogram 4.5 Ideogram ideogram-4-5 From US $0.008 per image P-Image Ideogram Ideogram, built with Pruna AI p-image-ideogram From US $0.003 per image GPT Image 2.5 OpenAI gpt-image-2-5-flaregpt-image-2-5-sunburst From US $0.0058 per image, estimated GPT Image 2 OpenAI gpt-image-2 From US $0.0058 per image, estimated Nano Banana Pro Google nano-banana-pro From US $0.1344 per image Nano Banana 2 Google nano-banana-2 From US $0.0672 per image Video models in the Ideogram API, with model strings and prices Video model Made by Model string Price Seedance 2.5 ByteDance seedance-2-5-text-to-videoseedance-2-5-image-to-videoseedance-2-5-reference-to-video From US $0.103 per second at 480p Seedance 2.0 ByteDance seedance-2-text-to-videoseedance-2-image-to-videoseedance-2-reference-to-video From US $0.07 per second at 480p Kling 4.0 Kuaishou kling-4 From US $0.157 per second at 720p Kling 3.0 Standard Kuaishou kling-3-standard-text-to-videokling-3-standard-image-to-video From US $0.084 per second at 1080p MiniMax H3 MiniMax minimax-h3-text-to-videominimax-h3-image-to-videominimax-h3-reference-to-video From US $0.05 per second at 480p Topaz upscalers use model strings such as topaz-text-refine and topaz-wonder-4 on /v2/image/upscale/ , from US $0.03 per output megapixel. The model guide compares every model's inputs and limits, and the API pricing table lists every rate. How do the text to video and image to video APIs work? A text to video request sends a prompt, and an image to video request also uploads the first frame as image. Both run asynchronously: the API answers with a generation_id, and you poll it or receive a webhook when the clip is ready. Video is billed per second of output, so the price depends on the model, length, resolution and audio. Text to video: seedance-2-5-text-to-video, kling-3-standard-text-to-video and minimax-h3-text-to-video, among others. Image to video: seedance-2-5-image-to-video, kling-3-standard-image-to-video and minimax-h3-image-to-video. Add end_image to set the last frame. Reference to video: Seedance and MiniMax H3 take reference images of people, products or places, and Kling 4.0 takes up to 10 frames and 10 reference images in one request. Read the video API guide Video API pricing How do I switch models? Change the model string, the last segment of the path. The key, the headers, the response shape and the billing stay the same, so comparing models takes no new integration. Fields beyond prompt differ by model, and each model's reference lists them. ideogram-4-6nano-banana-progpt-image-2curl -X POST "https://api.ideogram.ai/v2/image/generate/ideogram-4-6" \ -H "Api-Key: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A summer sale poster that reads \"SUMMER SALE\"" }'curl -X POST "https://api.ideogram.ai/v2/image/generate/nano-banana-pro" \ -H "Api-Key: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A summer sale poster that reads \"SUMMER SALE\"" }'curl -X POST "https://api.ideogram.ai/v2/image/generate/gpt-image-2" \ -H "Api-Key: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A summer sale poster that reads \"SUMMER SALE\"" }' How does pay as you go pricing work? API usage is prepaid: you add credits to your API balance, and each request draws its published price from it. You do not need a subscription. On pay as you go, one credit is 1¢, and you can start with $10. Add dry_run=true to a request and the API returns its price instead of running it, without generating, storing or billing anything. RequestResponsecurl -X POST "https://api.ideogram.ai/v2/image/generate/ideogram-4-6?dry_run=true" \ -H "Api-Key: <your-api-key>" \ -H "Content-Type: application/json" \ -d '{ "prompt": "A summer sale poster that reads \"SUMMER SALE\"", "quality": "medium" }'{ "object": "price_quote", "billing_identifier": "ideogram_4_6_generate", "quantity": 1, "usd_micros": 60000, "credit_millis": 6000, "qualifier": "exact" } usd_micros is the price in millionths of a US dollar, so 60,000 is US $0.06. The same parameter quotes video: a 5-second Seedance 2.5 clip at 720p quotes at US $1.155. A quote does not check your balance or rate limit, so the real request can still return 402 or 429. Read the price quote guide See API pricing Which image generation APIs render legible text in promotional graphics? Ideogram 4.6 rendered every word in the three promotional graphics below correctly. Each is the only image from one API request, shown unretouched. Put the exact words in quotes in the prompt, as these prompts do. Ideogram 4.6, medium quality, 1792 x 2240, US $0.06 per image Prompt: A retail promotional poster. A pair of tortoiseshell sunglasses rests on pale sand with a soft shadow. Large bold sans-serif headline at the top reads "SUMMER SALE". Below it a smaller line reads "Up to 40% off sunglasses". At the bottom a small line reads "Ends June 30". Warm coral and cream palette, clean modern layout. Ideogram 4.6, medium quality, 1792 x 2240, US $0.06 per image Prompt: A cafe chalkboard-style promotional sign photographed on a wooden easel. Hand-lettered white chalk text reads "NEW: Maple Oat Latte" as the headline, and below it "$5.50" in large numerals, and at the bottom "Available all November". Warm morning light, coffee cup on a small table beside the easel. Ideogram 4.6, medium quality, 2560 x 1440, US $0.06 per image Prompt: A wide social media promotional graphic for an online workshop. Left side: a flat illustration of a laptop showing a bar chart. Right side: headline text reads "Pricing Your First Product", subheading reads "Free live workshop", and a rounded button shape reads "Register now". Deep navy background with mint green accents, crisp geometric sans-serif type. AI text rendering in images Is there a Flux API alternative for images with accurate text? Ideogram's public API does not list Flux models. Ideogram 4.6 renders the words you quote in a prompt as text in the image, and the samples above are real outputs. To compare, run the prompts you already use through Ideogram 4.6 and check the spelling yourself. A test image costs from US $0.008, and a dry run prices any request before you send it. Quote the words that must appear, and keep each line of text short. Compare models on the same prompt by changing only the model string, for example from ideogram-4-6 to nano-banana-pro or gpt-image-2. Which endpoint fits each image and video task? Each endpoint in this table names its model in the path, in the form POST /v2/{content}/{action}/{model}. Pick the row for your task, then open its reference for the full contract. Ideogram API endpoints by image and video task, with inputs, outputs, delivery, controls, and billing unit Task Endpoint You sendYou get backDeliveryMain controlsBilled per Generate from a prompt Ideogram 4.5 POST /v2/image/generate/ideogram-4-5 A text or structured JSON prompt, plus up to 5 optional source images Image URLs, with an optional transparent background Returns the result by default; async or webhook on request Quality from very_low to high, size, number of images Image, by quality and size Remix an image Ideogram 4.0 POST /v2/image/remix/ideogram-4 A source image and a prompt Image URLs Returns the result by default Rendering speed, resolution, image weight Image Edit one region precisely Ideogram 4.5 Precise Edit POST /v2/image/precise-edit/ideogram-4-5 An image, an edit instruction, an optional mask and up to 4 reference images Edited images at the source image's width and height Returns the result by default Quality; context window for 4K and 8K sources Image, by quality Generate an SVG Ideogram Vector 1 POST /v2/svg/generate/ideogram-vector-1 A prompt and optional image references SVG files Asynchronous: poll or webhook Quality, aspect ratio SVG, by quality Convert an image to SVG Vectorizer POST /v2/svg/vectorize/ideogram-vector-1 A JPEG, PNG or WebP up to 50 MB An SVG file Asynchronous Detail mode: simple, detailed or auto Conversion Remove a background POST /v2/image/remove-background/ideogram-1 A JPEG, PNG or WebP up to 25 MB A transparent PNG of the foreground Returns the result by default None Image Make text editable Layerize POST /v2/design/layerize/ideogram-3 A flat image and optional font files Positioned text blocks with matched fonts, sizes and colors, plus a text-free base image Returns the result by default Optional prompt, candidate fonts Image Upscale POST /v2/image/upscale/auto or a named upscaling model An image up to 50 MB The image at 2x, 4x or 8x, up to 8,192 px per side Returns the result by default Upscale factor, model Image, or output megapixel for some models Generate a video from a prompt Seedance 2.5 POST /v2/video/generate/seedance-2-5-text-to-video or another video model A prompt, with duration, resolution and aspect ratio A video URL Asynchronous: poll or webhook Duration, resolution, aspect ratio, audio Second of output video Animate an image Seedance 2.5 POST /v2/video/generate/seedance-2-5-image-to-video or another image to video model A first frame as image, an optional end_image and a prompt A video URL Asynchronous: poll or webhook Duration, resolution, audio Second of output video Train and use a custom model Training POST /v1/ideogram-v3/train-model Generation POST /v2/image/generate/ideogram-3-custom-model or POST /v2/image/generate/ideogram-4-custom-model A dataset of 15 to 100 images with optional captions A model you call by custom_model_uri Training runs in the background;