{
  "schemaVersion": "1.0",
  "item": {
    "slug": "recraft-ai",
    "name": "Recraft AI",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/nkrcrft/recraft-ai",
    "canonicalUrl": "https://clawhub.ai/nkrcrft/recraft-ai",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/recraft-ai",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=recraft-ai",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "scripts/recraft.py",
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/recraft-ai"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/recraft-ai",
    "agentPageUrl": "https://openagent3.xyz/skills/recraft-ai/agent",
    "manifestUrl": "https://openagent3.xyz/skills/recraft-ai/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/recraft-ai/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Recraft",
        "body": "Use the bundled script to generate, vectorize, upscale, replace background, variate, remove background, and transform images via Recraft API."
      },
      {
        "title": "Setup",
        "body": "To access your API key, log in to Recraft and visit the page: https://www.recraft.ai/profile/api\nGenerate a token by hitting ‘Generate new key’ button (available only if your API units balance is above zero)\nSet environment variable:\nexport RECRAFT_API_TOKEN=\"your-api-token\""
      },
      {
        "title": "Generate Image",
        "body": "uv run {baseDir}/scripts/recraft.py generate --prompt \"your image description\" --style \"Recraft V3 Raw\" --filename \"output.png\" --size \"16:9\""
      },
      {
        "title": "Image to Image",
        "body": "uv run {baseDir}/scripts/recraft.py image-to-image --prompt \"your image description\" --style \"Recraft V3 Raw\" --input \"/path/to/input.png\" --filename \"output.png\" --strength 0.5"
      },
      {
        "title": "Replace Background",
        "body": "uv run {baseDir}/scripts/recraft.py replace-background --prompt \"your background description\" --style \"Recraft V3 Raw\" --input \"/path/to/input.png\" --filename \"output.png\""
      },
      {
        "title": "Vectorize Image",
        "body": "uv run {baseDir}/scripts/recraft.py vectorize --input \"/path/to/input.png\" --filename \"output.svg\""
      },
      {
        "title": "Remove Background",
        "body": "uv run {baseDir}/scripts/recraft.py remove-background --input \"/path/to/input.png\" --filename \"output.png\""
      },
      {
        "title": "Crisp Upscale",
        "body": "uv run {baseDir}/scripts/recraft.py crisp-upscale --input \"/path/to/input.png\" --filename \"output.png\""
      },
      {
        "title": "Creative Upscale",
        "body": "uv run {baseDir}/scripts/recraft.py creative-upscale --input \"/path/to/input.png\" --filename \"output.png\""
      },
      {
        "title": "Variate Image",
        "body": "uv run {baseDir}/scripts/recraft.py variate --input \"/path/to/input.png\" --filename \"output.png\" --size \"16:9\""
      },
      {
        "title": "Get User Information",
        "body": "uv run {baseDir}/scripts/recraft.py user-info"
      },
      {
        "title": "Parameters",
        "body": "--prompt, -p: Text description for image generation or editing, max 1000 characters\n--input, -i: Input image path (for editing/transformation commands)\n--filename, -f: Output filename\n--style, -s: Visual style (default: Recraft V3 Raw)\n\nRecraft V3 Raw, Photorealism, Illustration, Vector art, Icon\n\n\n--size: Output size as aspect ratio (default: 1:1)\n\n1:1, 2:1, 1:2, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 6:10, 14:10, 10:14, 16:9, 9:16\n\n\n--strength: Transformation strength for image-to-image (0.0-1.0, default: 0.5), where 0 means almost identical, and 1 means minimal similarity"
      },
      {
        "title": "API Key",
        "body": "RECRAFT_API_TOKEN env var\nOr set skills.\"recraft\".apiKey / skills.\"recraft\".env.RECRAFT_API_TOKEN in ~/.openclaw/openclaw.json"
      },
      {
        "title": "Notes",
        "body": "Use timestamps in filenames: yyyy-mm-dd-hh-mm-ss-name.png.\nThe script prints a MEDIA: line for OpenClaw to auto-attach on supported chat providers.\nDo not read the image back; report the saved path only.\nVector art and Icon styles output SVG format.\nRate limits: 100 requests per minute; 5 requests per second."
      }
    ],
    "body": "Recraft\n\nUse the bundled script to generate, vectorize, upscale, replace background, variate, remove background, and transform images via Recraft API.\n\nSetup\nTo access your API key, log in to Recraft and visit the page: https://www.recraft.ai/profile/api\nGenerate a token by hitting ‘Generate new key’ button (available only if your API units balance is above zero)\nSet environment variable:\nexport RECRAFT_API_TOKEN=\"your-api-token\"\n\nCommands\nGenerate Image\nuv run {baseDir}/scripts/recraft.py generate --prompt \"your image description\" --style \"Recraft V3 Raw\" --filename \"output.png\" --size \"16:9\"\n\nImage to Image\nuv run {baseDir}/scripts/recraft.py image-to-image --prompt \"your image description\" --style \"Recraft V3 Raw\" --input \"/path/to/input.png\" --filename \"output.png\" --strength 0.5\n\nReplace Background\nuv run {baseDir}/scripts/recraft.py replace-background --prompt \"your background description\" --style \"Recraft V3 Raw\" --input \"/path/to/input.png\" --filename \"output.png\"\n\nVectorize Image\nuv run {baseDir}/scripts/recraft.py vectorize --input \"/path/to/input.png\" --filename \"output.svg\"\n\nRemove Background\nuv run {baseDir}/scripts/recraft.py remove-background --input \"/path/to/input.png\" --filename \"output.png\"\n\nCrisp Upscale\nuv run {baseDir}/scripts/recraft.py crisp-upscale --input \"/path/to/input.png\" --filename \"output.png\"\n\nCreative Upscale\nuv run {baseDir}/scripts/recraft.py creative-upscale --input \"/path/to/input.png\" --filename \"output.png\"\n\nVariate Image\nuv run {baseDir}/scripts/recraft.py variate --input \"/path/to/input.png\" --filename \"output.png\" --size \"16:9\"\n\nGet User Information\nuv run {baseDir}/scripts/recraft.py user-info\n\nParameters\n--prompt, -p: Text description for image generation or editing, max 1000 characters\n--input, -i: Input image path (for editing/transformation commands)\n--filename, -f: Output filename\n--style, -s: Visual style (default: Recraft V3 Raw)\nRecraft V3 Raw, Photorealism, Illustration, Vector art, Icon\n--size: Output size as aspect ratio (default: 1:1)\n1:1, 2:1, 1:2, 3:2, 2:3, 4:3, 3:4, 5:4, 4:5, 6:10, 14:10, 10:14, 16:9, 9:16\n--strength: Transformation strength for image-to-image (0.0-1.0, default: 0.5), where 0 means almost identical, and 1 means minimal similarity\nAPI Key\nRECRAFT_API_TOKEN env var\nOr set skills.\"recraft\".apiKey / skills.\"recraft\".env.RECRAFT_API_TOKEN in ~/.openclaw/openclaw.json\nNotes\nUse timestamps in filenames: yyyy-mm-dd-hh-mm-ss-name.png.\nThe script prints a MEDIA: line for OpenClaw to auto-attach on supported chat providers.\nDo not read the image back; report the saved path only.\nVector art and Icon styles output SVG format.\nRate limits: 100 requests per minute; 5 requests per second."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/nkrcrft/recraft-ai",
    "publisherUrl": "https://clawhub.ai/nkrcrft/recraft-ai",
    "owner": "nkrcrft",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/recraft-ai",
    "downloadUrl": "https://openagent3.xyz/downloads/recraft-ai",
    "agentUrl": "https://openagent3.xyz/skills/recraft-ai/agent",
    "manifestUrl": "https://openagent3.xyz/skills/recraft-ai/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/recraft-ai/agent.md"
  }
}