跳转到主要内容
POST
Add tags to asset

授权

X-API-Key
string
header
必填

API key authentication. Generate an API key from your account settings at https://platform.comfy.org/profile/api-keys. Pass the key in the X-API-Key header.

路径参数

id
string<uuid>
必填

Asset ID

请求体

application/json
tags
string[]
必填

Tags to add to the asset

Minimum array length: 1

响应

Tags added successfully

total_tags
string[]
必填

All tags on the asset after the operation

added
string[]

Tags that were successfully added (for add operation)

removed
string[]

Tags that were successfully removed (for remove operation)

already_present
string[]

Tags that were already present (for add operation)

not_present
string[]

Tags that were not present (for remove operation)