Upscale(放大高清)
开发中
POST
https://api.mjdjourney.cn/ideogram/v1/upscale
提供图像的高分辨率版本,并可选附带提示。
请求参数
Query 参数
string
可选
Header 参数
Authorization
string
必需
默认值:
{{YOUR_API_KEY}}
string
可选
Body 参数multipart/form-data
image_file
file
可选
图像二进制;目前仅支持 JPEG、WEBP 和 PNG 格式
image_request
string
可选
请求生成一张新图像,使用提供的图像和提示。大致和Generate相同。
示例值:
{"resemblance":50,"magic_prompt_option":"AUTO","prompt":"A%20serene%20tropical%20beach%20","seed":12345,"detail":50}
string
可选
示例代码
返回响应
修改于 2024-09-02 14:34:55