翻篇收录说明
翻篇网页快照

Recraft API OpenAPI Specification - Recraft

https://www.recraft.ai/docs/api-reference/swagger

最近抓取:2026-12-04 13:59:23(北京时间)

最近内容变化:2026-12-01 21:48:08(北京时间)

这是最近一次有效抓取的文本快照,不含网页脚本、图片和动态交互内容。实际网页可能已更新。

访问原网页

页面简介

The OpenAPI description of the Recraft API for code generators, API tools, and AI agents, with JSON request bodies and every current model.

正文摘录

The Recraft API is described by an OpenAPI 3.0 specification. Use it to generate a client, import the API into tools like Postman or Insomnia, or give it to an AI agent. ResourceLinkSpecification (JSON), recommendedhttps://www.recraft.ai/docs/api-reference/openapi.jsonBackend specification (YAML)external-api.yamlInteractive reference (Swagger UI)external.api.recraft.ai/doc The JSON specification is built from the backend specification and adds what that one doesn’t have yet: a JSON request body for every endpoint, with images passed as image_url, mask_url, image_urls, or style_reference_urls, listed before the multipart body; Recraft V4.1 Flash V2 (recraftv4_1_flash_v2) and style_reference_urls; Enhance prompt (POST /v1/prompts/enhance); error responses, whose bodies are plain text or JSON (see Errors). The Swagger UI and the YAML file show the backend specification, which sends request bodies as multipart/form-data only. Prefer the JSON specification for generated clients.