Create Task Recraft AI/Recraft V3 SVG

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

Endpoint

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

cURL Command

curl -X POST 'http://v98store.com/replicate/v1/models/recraft-ai/recraft-v3-svg/predictions' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{ "input": { "size": "1024x1024", "style": "any", "prompt": "a portrait of a cute red panda using a laptop, the poster has the title \"Red panda is Recraft v3\", against a red background", "aspect_ratio": "Not set" } }'

Parameters

NameInDescriptionRequired
AuthorizationheaderNo

Request Body

Example

{
  "input": {
    "size": "1024x1024",
    "style": "any",
    "prompt": "a portrait of a cute red panda using a laptop, the poster has the title \"Red panda is Recraft v3\", against a red background",
    "aspect_ratio": "Not set"
  }
}

Responses

200 -

Example

{
  "id": "21r1gkwrzxrme0crb42tx4qrem",
  "model": "recraft-ai/recraft-v3-svg",
  "version": "hidden",
  "input": {
    "aspect_ratio": "Not set",
    "prompt": "a portrait of a cute red panda using a laptop, the poster has the title \"Red panda is Recraft v3\", against a red background",
    "size": "1024x1024",
    "style": "any"
  },
  "logs": "",
  "output": null,
  "data_removed": false,
  "error": null,
  "status": "starting",
  "created_at": "2025-07-30T01:49:55.839Z",
  "urls": {
    "cancel": "https://api.replicate.com/v1/predictions/21r1gkwrzxrme0crb42tx4qrem/cancel",
    "get": "https://api.replicate.com/v1/predictions/21r1gkwrzxrme0crb42tx4qrem",
    "stream": "https://stream.replicate.com/v1/files/bcwr-7u7q63im74v2xjin5o7xj5prlfisac3m7ni22gh22jfejdfwi22q",
    "web": "https://replicate.com/p/21r1gkwrzxrme0crb42tx4qrem"
  }
}