Presets
Extract preset from text description
Provide a natural language scene description and use AI to generate style settings as a preset.
Authorization
token_auth AuthorizationBearer <token>
Token-based authentication using access tokens.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://v2.api.piktid.com/preset/extract-from-text" \ -H "Content-Type: application/json" \ -d '{ "text": "string" }'{
"instruction_data": {},
"suggested_name": null,
"suggested_description": null,
"file_id": null
}{
"error": "Invalid request",
"detail": [
{
"field": null,
"message": "string",
"position": "query"
}
]
}Empty
Empty