API REFERENCE
Get Template Detail
On this page
/api/content/templates/{id}Get the full configuration for a specific content creation template. Returns the complete creative recipe including image prompts, video motion config, caption style rules, and edit operations.
Authentication
x-api-key in header
bearerAuth bearer
Request
curl --request GET \
--url 'https://api.recoupable.dev/api/content/templates/YOUR_ID' \
--header 'x-api-key: YOUR_API_KEY'Replace the YOUR_ placeholders with your values. Required query parameters are included; optional parameters are listed below.
Parameters
Path parameters
idstringrequiredTemplate identifier
Responses
200Template detail retrieved successfully+
application/json
idstringrequiredTemplate identifier
descriptionstringrequiredHuman-readable description of the template
imageobjectImage generation configuration
Properties for image
promptstringDefault image prompt used when no caller prompt is provided
reference_imagesarray<string>Reference image URLs for style conditioning
Item properties for reference_images
string
style_rulesobjectStyle constraints (lighting, colors, composition)
videoobjectVideo generation configuration
Properties for video
moodsarray<string>Mood descriptors for motion prompt generation
Item properties for moods
string
movementsarray<string>Camera/subject movement descriptors
Item properties for movements
string
captionobjectCaption generation configuration
Properties for caption
guideobjectCaption style guide
Properties for guide
tonestringVoice and tone direction
rulesarray<string>Style rules for caption generation
Item properties for rules
string
formatsarray<string>Allowed caption formats
Item properties for formats
string
examplesarray<string>Example captions for few-shot prompting
Item properties for examples
string
editobjectPost-processing edit operations
Properties for edit
operationsarray<object>Default edit operations applied during post-processing
Item properties for operations
typestring · enumrequiredOperation type
Values: "trim", "crop", "resize", "overlay_text", "mux_audio"
startnumberStart time in seconds (trim)
durationnumberDuration in seconds (trim)
aspectstringAspect ratio e.g. 9:16 (crop)
widthintegerWidth in pixels (crop/resize)
heightintegerHeight in pixels (crop/resize)
contentstringText content (overlay_text)
fontstringFont name (overlay_text)
colorstringText color (overlay_text)
stroke_colorstringText stroke color (overlay_text)
max_font_sizenumberMaximum font size (overlay_text)
positionstring · enumText position (overlay_text)
Values: "top", "center", "bottom"
audio_urlstringAudio URL to mux (mux_audio)
format: uri
replacebooleanReplace existing audio (mux_audio)
401Unauthorized — invalid or missing API key+
application/json
errorstringrequiredError message describing what went wrong
404Template not found+
application/json
statusstringerrorstringFull specification
Download the OpenAPI file for complete schemas, constraints, and examples.
Download content.jsonView operation source
{
"description": "Get the full configuration for a specific content creation template. Returns the complete creative recipe including image prompts, video motion config, caption style rules, and edit operations.",
"security": [
{
"apiKeyAuth": []
},
{
"bearerAuth": []
}
],
"parameters": [
{
"name": "id",
"in": "path",
"description": "Template identifier",
"required": true,
"schema": {
"type": "string",
"example": "artist-caption-bedroom"
}
}
],
"responses": {
"200": {
"description": "Template detail retrieved successfully",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ContentTemplateDetail"
}
}
}
},
"401": {
"description": "Unauthorized — invalid or missing API key",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ContentErrorResponse"
}
}
}
},
"404": {
"description": "Template not found",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"status": {
"type": "string",
"example": "error"
},
"error": {
"type": "string",
"example": "Template not found"
}
}
}
}
}
}
}
}