Create Task Ideogram AI/Ideogram V2 Turbo

official文档:https://replicate.com/ideogram-ai/ideogram-v2-turbo

Endpoint

POST http://v98store.com/replicate/v1/models/ideogram-ai/ideogram-v2-turbo/predictions

cURL Command

curl -X POST 'http://v98store.com/replicate/v1/models/ideogram-ai/ideogram-v2-turbo/predictions' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "input": { "prompt": "An illustration of a gold running shoe with the text \"Run AI with an API\" written on the shoe. The shoe is placed on a pink background. The text is white and bold. The overall image has a modern and techy vibe, with elements of speed.", "resolution": "None", "style_type": "None", "aspect_ratio": "1:1", "magic_prompt_option": "Auto" } }'

Parameters

NameInDescriptionRequired
AuthorizationheaderNo

Request Body

Example

{
  "input": {
    "prompt": "An illustration of a gold running shoe with the text \"Run AI with an API\" written on the shoe. The shoe is placed on a pink background. The text is white and bold. The overall image has a modern and techy vibe, with elements of speed.",
    "resolution": "None",
    "style_type": "None",
    "aspect_ratio": "1:1",
    "magic_prompt_option": "Auto"
  }
}

Responses

200 -

Example

{
  "id": "2jycc2v9nnrmc0crap5tv5zaxr",
  "model": "ideogram-ai/ideogram-v2-turbo",
  "version": "hidden",
  "input": {
    "aspect_ratio": "1:1",
    "magic_prompt_option": "Auto",
    "prompt": "An illustration of a gold running shoe with the text \"Run AI with an API\" written on the shoe. The shoe is placed on a pink background. The text is white and bold. The overall image has a modern and techy vibe, with elements of speed.",
    "resolution": "None",
    "style_type": "None"
  },
  "logs": "",
  "output": null,
  "data_removed": false,
  "error": null,
  "status": "starting",
  "created_at": "2025-07-29T09:37:36.685Z",
  "urls": {
    "cancel": "https://api.replicate.com/v1/predictions/2jycc2v9nnrmc0crap5tv5zaxr/cancel",
    "get": "https://api.replicate.com/v1/predictions/2jycc2v9nnrmc0crap5tv5zaxr",
    "stream": "https://stream.replicate.com/v1/files/bcwr-irvir7a5lzv2z6pja5hol5cy36lt5jekok743kcmbfu4gtvpv7vq",
    "web": "https://replicate.com/p/2jycc2v9nnrmc0crap5tv5zaxr"
  }
}