Preset categories
Commit the draft: one batch extraction, then one transaction.
Charges 1 credit per shot that is not already resolved. A draft whose shots
are all resolved (a template copied and left alone) makes no lambda call at
all and costs nothing.
Authorization
token_auth AuthorizationBearer <token>
Token-based authentication using access tokens.
In: header
Path Parameters
conversation_id*string
Response Body
application/json
application/json
curl -X POST "https://v2.api.piktid.com/template-chat/string/create"{
"category": {
"id": "string",
"name": "string",
"description": "string",
"thumbnail_url": "string",
"visibility": "shared",
"created_by": "string",
"created_at": "string",
"swatch_source": null,
"preset_count": 0,
"preset_types": [
"flat_2_model"
],
"groups": [
"string"
],
"preset_previews": [
{
"preset_code": "string",
"name": "string",
"preview_url": null,
"framing": null,
"angle": null
}
]
},
"presets": [
{
"preset_code": "string",
"name": "string",
"description": "string",
"type": "flat_2_model",
"visibility": "shared",
"groups": [
"string"
],
"categories": [
{
"id": "string",
"name": "string",
"description": "string",
"thumbnail_url": "string",
"visibility": "shared",
"created_by": "string",
"created_at": "string",
"swatch_source": null,
"preset_count": 0,
"preset_types": [
"flat_2_model"
],
"groups": [
"string"
],
"preset_previews": [
{
"preset_code": "string",
"name": "string",
"preview_url": null,
"framing": null,
"angle": null
}
]
}
],
"instruction_data": {},
"created_by": "string",
"created_at": "string",
"updated_at": "string"
}
],
"credits_used": 0
}{
"error": "Invalid request",
"detail": [
{
"field": null,
"message": "string",
"position": "query"
}
]
}Empty
Empty
Empty
Empty
Empty
Empty