Vtrix Edit Style

vtrix_edit_style

多风格图像编辑,具有灵活的风格切换和一致的视觉输出。

认证

authorization string 必填

所有 API 都需要通过 Bearer Token 进行认证

获取 API Key:

访问 API Key 管理页面 获取您的 API Key

使用方法:

添加到请求头:

Authorization: Bearer YOUR_API_KEY

参数

model string 必填

请求使用的模型 ID

值:vtrix_edit_style


image_input1 string 必填

输入图像 URL。必须是有效的 HTTP 或 HTTPS URL。支持:JPG、JPEG、PNG


template_id string 必填

模板 ID。提供 27 种风格模板


width integer

输出图像宽度

默认值1328

范围512 - 2048


height integer

输出图像高度

默认值1328

范围512 - 2048

错误码

代码描述
401API key 缺失或无效
403余额不足或权限被拒绝
429请求频率超限
500内部服务器错误