Create Task Recraft AI/Recraft V3

official文档:https://replicate.com/recraft-ai/recraft-v3

Endpoint

POST http://v98store.com/replicate/v1/models/recraft-ai/recraft-v3/predictions

cURL Command

curl -X POST 'http://v98store.com/replicate/v1/models/recraft-ai/recraft-v3/predictions' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "input": { "size": "1365x1024", "style": "any", "prompt": "a wildlife photography photo of a red panda using a laptop in a snowy forest", "aspect_ratio": "Not set" } }'

Parameters

NameInDescriptionRequired
AuthorizationheaderNo

Request Body

Example

{
  "input": {
    "size": "1365x1024",
    "style": "any",
    "prompt": "a wildlife photography photo of a red panda using a laptop in a snowy forest",
    "aspect_ratio": "Not set"
  }
}

Responses

200 -

Example

{
  "id": "w5k77rccg1rma0crb40tssh86g",
  "model": "recraft-ai/recraft-v3",
  "version": "hidden",
  "input": {
    "aspect_ratio": "Not set",
    "prompt": "a wildlife photography photo of a red panda using a laptop in a snowy forest",
    "size": "1365x1024",
    "style": "any"
  },
  "logs": "",
  "output": null,
  "data_removed": false,
  "error": null,
  "status": "starting",
  "created_at": "2025-07-30T01:45:30.496Z",
  "urls": {
    "cancel": "https://api.replicate.com/v1/predictions/w5k77rccg1rma0crb40tssh86g/cancel",
    "get": "https://api.replicate.com/v1/predictions/w5k77rccg1rma0crb40tssh86g",
    "stream": "https://stream.replicate.com/v1/files/bcwr-otkjt5aiey7d63eore5rhoezsvrxwsc5q6ow2x5lpqh3l6x33hgq",
    "web": "https://replicate.com/p/w5k77rccg1rma0crb40tssh86g"
  }
}