ideogram-text-to-image-4 API
Fal Ideogram V4 text-to-image generation
公开售价: USD 0.75 / 次请求
公开 ID: ideogram-text-to-image-4
模型类型: 图片
定价
公开售价 · USD 0.75 / 次请求
隐私
未知
未知表示尚未发布经过核实的完整服务隐私保证。无审查不保证任意请求成功。
快速开始
确认该模型出现在你的密钥目录中,再查看该能力文档中的输入选项。
将 GLOOP_API_BASE 设为 API 地址,GLOOP_API_KEY 设为服务端密钥。
curl
curl --fail-with-body "${GLOOP_API_BASE%/}/v1/models" \
-H "Authorization: Bearer $GLOOP_API_KEY"Python
import os, json, urllib.request
url = os.environ['GLOOP_API_BASE'].rstrip('/') + "/v1/models"
headers = {'Authorization': 'Bearer ' + os.environ['GLOOP_API_KEY']}
request = urllib.request.Request(url, headers=headers)
with urllib.request.urlopen(request) as response:
print(json.load(response))Node.js
const url = process.env.GLOOP_API_BASE.replace(/\/$/, '') + "/v1/models";
const headers = { Authorization: `Bearer ${process.env.GLOOP_API_KEY}` };
const response = await fetch(url, { headers });
if (!response.ok) throw new Error(`HTTP ${response.status}`);
console.log(await response.json());
执行前请确认模型访问权限和价格。复制示例不会调用 API。
常见问题
ideogram-text-to-image-4 — 应使用哪个模型 ID?
ideogram-text-to-image-4
ideogram-text-to-image-4 — 此模型如何计费?
公开售价: USD 0.75 / 次请求
同类型模型
- Ideogram V4
- Ideogram V4.5
- Recraft V4 Pro
- GPT Image 1.5
- gemini-pro-image-3-preview
- nano-banana-pro-image-preview