- 指南
- 获取 Base URL 和 API Key
- 通知设置-WebHook参数介绍
- 通过 AI 快速生成调用代码
- 列出模型
- 聊天(Chat)
- RAG(嵌入、重排序
- 视频模型
- 数字人
- 绘图模型
- 生图模型 简介
- OpenAI Dall-e 格式
- OpenAI 聊天格式
- Mid journey 文生图
- Ideogram(官方格式
- recraft 官方格式
- 快手可灵(官方格式)
- SeedEdit(图片编辑
- 豆包智能绘图
- Flux 系列
- 音频接口
- Suno文生歌
- 补充
- 音乐生成参数介绍
- 场景一: 灵感模式
- 场景二: 自定义.歌词歌名
- 场景三: 纯音乐.自定义
- 场景四: 纯音乐.灵感模式
- 场景五: 续写自定义音频
- 场景六: 续写音乐并获取完整音乐
- 场景七: Cover 音乐翻版\修改风格
- 场景八: Replace Section.替换片段
- 场景九: Persona.歌手风格
- 场景十: 上传续写
- 生成歌曲(灵感模式)
- 生成歌曲(自定义模式)
- 生成歌曲(续写模式)
- 生成歌曲(歌手风格)
- 生成歌曲(上传歌曲二次创作)
- 生成歌曲(拼接歌曲)
- 生成歌词
- 上传请求
- 报告上传完毕
- 查询上传处理状态
- 初始化音频文件
- Persona:创建歌手风格
- 查询歌词
- 查询歌曲
- 批量获取任务
- 声曲分离
- Timing:歌词、音频时间线
- wav:获取 wav 格式文件
- mp4:生成 mp4 mv 视频
- 上传音乐通过 url
- 生成歌曲 (v1 版本)
- 拼接歌曲 (v1 版本)
- 生成歌词 (v1 版本)
- 查询歌曲 (v1 版本)
- 查询歌词 (v1 版本)
- OpenAI(TTS\Wishper
- Suno文生歌
- 文件上传(Files)
- PPT接口
- Replicate平台兼容
- 接入教程
- 获取任务进度(predictions (免费
- 创建任务-通过模型version(predictions)
- 创建任务-通过url路径
- 创建任务-stability-ai/stable-diffusion
- 创建任务-stability-ai/sdxl
- 创建任务-stability-ai/stable-diffusion-inpainting
- 创建任务-stability-ai/stable-diffusion-img2img
- 创建任务-lucataco/flux-schnell-lora
- 创建任务-lucataco/flux-dev-lora
- 创建任务-andreasjansson/stable-diffusion-animation
- 创建任务-lucataco/animate-diff
- 创建任务-sujaykhandekar/object-removal
- 创建任务-cjwbw/rembg
- 创建任务-minimax/video-01-live
- 创建任务-minimax/video-01
- 创建任务-recraft-ai/recraft-v3
- 创建任务-recraft-ai/recraft-v3-svg
- 创建任务-ideogram-ai/ideogram-v2-turbo
- 帮助中心
- 平台API
- 废弃、未开放
- Higgsfield 视频模型
- MiniMax视频模型
Upscale(放大高清)
POST
{{BASE_URL}}/ideogram/upscale
最后修改时间:2025-06-18 08:20:51
根据给定的提示和可选参数,实时提供重新混合的图像
具体参数请看官方文档:https://developer.ideogram.ai/api-reference/generate/post-generate-image
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Header 参数
accept
string
必需
示例值:
application/json
Body 参数multipart/form-data
image_request
string
必需
示例值:
{"resemblance":50,"magic_prompt_option":"AUTO","prompt":"A%20serene%20tropical%20beach%20","seed":12345,"detail":50}
image_file
file
必需
示例值:
file://E:\Downloads\flux.png
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location -g --request POST '{{BASE_URL}}/ideogram/upscale' \
--header 'accept: application/json' \
--form 'image_request="{\"resemblance\":50,\"magic_prompt_option\":\"AUTO\",\"prompt\":\"A%20serene%20tropical%20beach%20\",\"seed\":12345,\"detail\":50}"' \
--form 'image_file=@"E:\\Downloads\\flux.png"'
返回响应
🟢200成功
application/json
Body
created
string
必需
data
array [object {5}]
必需
is_image_safe
boolean
可选
prompt
string
可选
resolution
string
可选
seed
integer
可选
url
string
可选
示例
{
"data": [
{
"seed": 12345,
"prompt": "A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there's an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.",
"resolution": "1024x1024",
"url": "https://ideogram.ai/api/images/direct/8YEpFzHuS-S6xXEGmCsf7g",
"is_image_safe": true
},
{
"seed": 12345,
"prompt": "A serene tropical beach scene. Dominating the foreground are tall palm trees with lush green leaves, standing tall against a backdrop of a sandy beach. The beach leads to the azure waters of the sea, which gently kisses the shoreline. In the distance, there's an island or landmass with a silhouette of what appears to be a lighthouse or tower. The sky above is painted with fluffy white clouds, some of which are tinged with hues of pink and orange, suggesting either a sunrise or sunset.",
"resolution": "1024x1024",
"url": "https://ideogram.ai/api/images/direct/8YEpFzHuS-S6xXEGmCsf7g",
"is_image_safe": true
}
],
"created": "2000-01-23T04:56:07.000Z"
}
修改于 2025-06-18 08:20:51