AI-YIAPI-全球AI分发站
  1. 暂时未启用
AI-YIAPI-全球AI分发站
  • 关于我们
  • Open AI
    • gpt-4-all(生成图片)
    • 内容补全接口
    • DALL·E 3
    • 创建嵌入
    • 创建转录
    • 创建翻译
    • TTS文本转语音
    • 合并音乐
  • InsightFace任务提交
    • 提交swap_face任务
  • 任务管理
    • 任务查询
  • Midjourney接口
    • 任务提交
      • 执行动作
      • 提交Blend任务
      • 提交Describe任务
      • 提交Imagine任务
      • 提交Modal
      • 提交Shorten任务
    • 任务查询
      • 指定ID获取任务
      • 获取任务图片的seed(需设置mj或niji的私信ID)
  • 暂时未启用
    • Generate
      • Stable Image Ultra
      • Stable Image Core
      • Stable Diffusion 3
    • SDXL & SD1.6
      • Text-to-image
    • styles
      • 创建样式
    • images
      • 生成图像
      • 图像矢量化
      • 移除背景
      • 清晰度提升
      • 生成式放大
    • 视频生成
      • 图生视频
    • 生成音乐
      POST
    • 获取音乐
      GET
    • 生成音乐
      POST
    • 获取音乐
      GET
    • flux-pro-1.1
      POST
    • flux-pro
      POST
    • flux-dev
      POST
    • flux-查询
      GET
    • Generate(文生图)
      POST
    • Remix(混合图)
      POST
    • Upscale(放大高清)
      POST
    • Describe(描述)
      POST
    • 图像生成
      POST
    • 文生视频
      POST
    • 图生视频
      POST
    • 查询任务
      GET
    • 获取视频
      GET
    • 生成视频
      POST
    • 图片描述
      POST
    • 文生图
      POST
    • 合成图
      POST
    • 放大图片
      POST
    • ideogram任务查询
      POST
    • CogVideoX视频生成
      POST
    • CogVideoX视频查询
      GET
    • Mix上传视频并生成视频
      POST
    • 查询视频任务
      GET
    • Multi模板列表
      GET
    • Mix官方模板列表
      GET
    • Mix上传视频素材库
      GET
    • Mix上传图片素材库
      GET
    • 剩余积分查询
      GET
    • Multi上传视频并生成视频
      POST
    • Move上传视频并生成视频
      POST
  1. 暂时未启用

ideogram任务查询

POST
/api/ideogram/task-request

请求参数

Authorization
Bearer Token
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token
示例:
Authorization: Bearer ********************
or
Header 参数
Access-Token
string 
可选
示例值:
12345678
Body 参数application/json
request_id
string 
查询id
必需
示例
{
    "request_id": "string"
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/api/ideogram/task-request' \
--header 'Content-Type: application/json' \
--data-raw '{
    "request_id": "string"
}'

返回响应

🟢200成功
application/json
Body
sampling_requests
array [object {20}] 
必需
aspect_ratio
string 
可选
can_upscale
boolean 
可选
completion_percentage
integer 
完成进度, 达到100就完成了
可选
cover_response_id
string 
可选
creation_time_float
number 
可选
has_started
boolean 
可选
height
integer 
可选
is_completed
boolean 
是否完成
可选
model_version
string 
可选
private
boolean 
可选
request_id
string 
可选
request_type
string 
可选
resolution
integer 
可选
responses
array [object {10}] 
可选
sampling_speed
integer 
可选
seed
integer 
可选
user
object 
可选
user_hparams
object 
可选
user_prompt
string 
可选
width
integer 
可选
示例
{
    "sampling_requests": [
        {
            "aspect_ratio": "1:1",
            "can_upscale": true,
            "completion_percentage": 100,
            "cover_response_id": "I0KkrjcfQH6bqJVz2Prp9g",
            "creation_time_float": 1730039726.950963,
            "has_started": true,
            "height": 1024,
            "is_completed": true,
            "model_version": "V_0_3",
            "private": true,
            "request_id": "QGvBNC-SReSCnZ7y-hnYbg",
            "request_type": "TEXT_TO_IMAGE",
            "resolution": 1024,
            "responses": [
                {
                    "cover": true,
                    "descriptions": [],
                    "highest_fidelity": true,
                    "is_autoprompt": true,
                    "num_likes": 0,
                    "num_remixes": 0,
                    "prompt": "A heartwarming photograph of a playful and fluffy dog. The dog is a golden retriever with a wagging tail, bounding through a field of tall, green grass. Its fur shines in the sunlight, and its ears are flapping gently as it runs. In the background, there is a bright blue sky and a few white, fluffy clouds. The overall atmosphere of the image is joyful and full of life.",
                    "response_id": "I0KkrjcfQH6bqJVz2Prp9g",
                    "image_url": "https://ideogram.ai/assets/progressive-image/balanced/response/I0KkrjcfQH6bqJVz2Prp9g",
                    "self_like": false
                },
                {
                    "cover": false,
                    "descriptions": [],
                    "highest_fidelity": false,
                    "is_autoprompt": true,
                    "num_likes": 0,
                    "num_remixes": 0,
                    "prompt": "A cute and playful dog, with a wagging tail and bright, inquisitive eyes. The dog is a medium-sized mixed breed, with a soft brown and white coat that appears fluffy. It's standing on a lush green lawn, with its ears perked up and a toy in its mouth. The sun is shining, casting a warm light over the happy scene.",
                    "response_id": "McW1NqFVTJCAgQKaLz2AMA",
                    "self_like": false
                },
                {
                    "cover": false,
                    "descriptions": [],
                    "highest_fidelity": false,
                    "is_autoprompt": true,
                    "num_likes": 0,
                    "num_remixes": 0,
                    "prompt": "A playful and adorable dog, captured in a candid moment. The dog has a short, golden fur, wagging its tail enthusiastically. Its tongue is out, showing a wide smile that reveals its pearly white teeth. The dog is outdoors, with a lush green grassy field as the backdrop. In the distance, a blue sky and a few fluffy clouds add to the serene and sunny atmosphere.",
                    "response_id": "NUHi05ZxRvm6zP4_rx1hMg",
                    "self_like": false
                },
                {
                    "cover": false,
                    "descriptions": [],
                    "highest_fidelity": false,
                    "is_autoprompt": true,
                    "num_likes": 0,
                    "num_remixes": 0,
                    "prompt": "A captivating image of a playful, friendly dog. The dog is a mixed breed with a wagging tail and a wide, happy smile. Its fur is a beautiful blend of golden and black hues. The dog is standing on a lush green lawn, with a colorful frisbee in its mouth, ready to play. The background is a clear blue sky with a few white clouds, and a vibrant red and yellow flower garden. The whole scene exudes warmth and happiness.",
                    "response_id": "kXeVt9AISmS61-nCrrwf5A",
                    "self_like": false
                }
            ],
            "sampling_speed": 0,
            "seed": 1406040949,
            "user": {
                "badge": null,
                "display_handle": "vartanianbungal",
                "photo_url": "https://lh3.googleusercontent.com/a/ACg8ocIyRND7DMJ7bsWZXTkWXQVC1z1GCeVYeYFEsEYKFCxBcnf6AA=s96-c",
                "subscription_plan_id": "o-sIa28SQSGZzKlMLZjDkA",
                "user_id": "UMxfIhU5TTCDP0SRr4eISQ"
            },
            "user_hparams": {
                "aspect_ratio": "1:1"
            },
            "user_prompt": "dog",
            "width": 1024
        }
    ]
}
上一页
放大图片
下一页
CogVideoX视频生成
Built with