[LEGACY] Image Editing v1 (Plus plan)
Production server (Plus plan)
Production server (Plus plan)
POST
/v1/render
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://image-api.photoroom.com/v1/render' \
--header 'x-api-key;' \
--form 'templateId="592dd982-4a1b-4cd9-ab11-21481d5a0064"'
响应示例响应示例
200 - 示例 1
{}
请求参数
Header 参数
x-api-key
string
必需
Body 参数multipart/form-data
templateId
string
Template ID
示例值:
592dd982-4a1b-4cd9-ab11-21481d5a0064
imageFile
file
可选
imageUrl
string <uri>
Image URL
imageFile
instead.示例值:
https://s3.amazonaws.com/a.storyblok.com/f/191576/1024x1024/d25e1a99d7/sample-05.png
返回响应
修改于 2024-04-17 06:52:37