curl --request GET \
--url https://api.recoupable.dev/api/content/templates/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.recoupable.dev/api/content/templates/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.recoupable.dev/api/content/templates/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.recoupable.dev/api/content/templates/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.recoupable.dev/api/content/templates/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.recoupable.dev/api/content/templates/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.recoupable.dev/api/content/templates/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "artist-caption-bedroom",
"description": "Moody bedroom selfie. Artist on camera with deadpan expression, purple LED lighting, dark room.",
"image": {
"prompt": "<string>",
"reference_images": [
"<string>"
],
"style_rules": {}
},
"video": {
"moods": [
"<string>"
],
"movements": [
"<string>"
]
},
"caption": {
"guide": {
"tone": "<string>",
"rules": [
"<string>"
],
"formats": [
"<string>"
]
},
"examples": [
"<string>"
]
},
"edit": {
"operations": [
{
"start": 123,
"duration": 123,
"aspect": "<string>",
"width": 123,
"height": 123,
"content": "<string>",
"font": "<string>",
"color": "<string>",
"stroke_color": "<string>",
"max_font_size": 123,
"audio_url": "<string>",
"replace": true
}
]
}
}{
"error": "Unauthorized"
}{
"status": "error",
"error": "Template not found"
}Get Template Detail
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.
curl --request GET \
--url https://api.recoupable.dev/api/content/templates/{id} \
--header 'x-api-key: <api-key>'import requests
url = "https://api.recoupable.dev/api/content/templates/{id}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.recoupable.dev/api/content/templates/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.recoupable.dev/api/content/templates/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.recoupable.dev/api/content/templates/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.recoupable.dev/api/content/templates/{id}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.recoupable.dev/api/content/templates/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "artist-caption-bedroom",
"description": "Moody bedroom selfie. Artist on camera with deadpan expression, purple LED lighting, dark room.",
"image": {
"prompt": "<string>",
"reference_images": [
"<string>"
],
"style_rules": {}
},
"video": {
"moods": [
"<string>"
],
"movements": [
"<string>"
]
},
"caption": {
"guide": {
"tone": "<string>",
"rules": [
"<string>"
],
"formats": [
"<string>"
]
},
"examples": [
"<string>"
]
},
"edit": {
"operations": [
{
"start": 123,
"duration": 123,
"aspect": "<string>",
"width": 123,
"height": 123,
"content": "<string>",
"font": "<string>",
"color": "<string>",
"stroke_color": "<string>",
"max_font_size": 123,
"audio_url": "<string>",
"replace": true
}
]
}
}{
"error": "Unauthorized"
}{
"status": "error",
"error": "Template not found"
}Authorizations
Your Recoup API key. Learn more.
Path Parameters
Template identifier
"artist-caption-bedroom"
Response
Template detail retrieved successfully
Full configuration for a content creation template including image prompts, video motion config, caption style rules, and edit operations.
Template identifier
"artist-caption-bedroom"
Human-readable description of the template
"Moody bedroom selfie. Artist on camera with deadpan expression, purple LED lighting, dark room."
Image generation configuration
Show child attributes
Show child attributes
Video generation configuration
Show child attributes
Show child attributes
Caption generation configuration
Show child attributes
Show child attributes
Post-processing edit operations
Show child attributes
Show child attributes
Was this page helpful?
