> ## Documentation Index
> Fetch the complete documentation index at: https://docs.recoupable.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# 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.



## OpenAPI

````yaml api-reference/openapi/content.json GET /api/content/templates/{id}
openapi: 3.1.0
info:
  title: Recoup API - Content
  description: >-
    API documentation for the Recoup platform - an AI agent platform for the
    music industry
  license:
    name: MIT
  version: 1.0.0
servers:
  - url: https://api.recoupable.dev
security: []
paths:
  /api/content/templates/{id}:
    get:
      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.
      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
      security:
        - apiKeyAuth: []
        - bearerAuth: []
components:
  schemas:
    ContentTemplateDetail:
      type: object
      required:
        - id
        - description
      description: >-
        Full configuration for a content creation template including image
        prompts, video motion config, caption style rules, and edit operations.
      properties:
        id:
          type: string
          description: Template identifier
          example: artist-caption-bedroom
        description:
          type: string
          description: Human-readable description of the template
          example: >-
            Moody bedroom selfie. Artist on camera with deadpan expression,
            purple LED lighting, dark room.
        image:
          type: object
          description: Image generation configuration
          properties:
            prompt:
              type: string
              description: Default image prompt used when no caller prompt is provided
            reference_images:
              type: array
              items:
                type: string
                format: uri
              description: Reference image URLs for style conditioning
            style_rules:
              type: object
              description: Style constraints (lighting, colors, composition)
        video:
          type: object
          description: Video generation configuration
          properties:
            moods:
              type: array
              items:
                type: string
              description: Mood descriptors for motion prompt generation
            movements:
              type: array
              items:
                type: string
              description: Camera/subject movement descriptors
        caption:
          type: object
          description: Caption generation configuration
          properties:
            guide:
              type: object
              description: Caption style guide
              properties:
                tone:
                  type: string
                  description: Voice and tone direction
                rules:
                  type: array
                  items:
                    type: string
                  description: Style rules for caption generation
                formats:
                  type: array
                  items:
                    type: string
                  description: Allowed caption formats
            examples:
              type: array
              items:
                type: string
              description: Example captions for few-shot prompting
        edit:
          type: object
          description: Post-processing edit operations
          properties:
            operations:
              type: array
              description: Default edit operations applied during post-processing
              items:
                type: object
                required:
                  - type
                properties:
                  type:
                    type: string
                    enum:
                      - trim
                      - crop
                      - resize
                      - overlay_text
                      - mux_audio
                    description: Operation type
                  start:
                    type: number
                    description: Start time in seconds (trim)
                  duration:
                    type: number
                    description: Duration in seconds (trim)
                  aspect:
                    type: string
                    description: Aspect ratio e.g. 9:16 (crop)
                  width:
                    type: integer
                    description: Width in pixels (crop/resize)
                  height:
                    type: integer
                    description: Height in pixels (crop/resize)
                  content:
                    type: string
                    description: Text content (overlay_text)
                  font:
                    type: string
                    description: Font name (overlay_text)
                  color:
                    type: string
                    description: Text color (overlay_text)
                  stroke_color:
                    type: string
                    description: Text stroke color (overlay_text)
                  max_font_size:
                    type: number
                    description: Maximum font size (overlay_text)
                  position:
                    type: string
                    enum:
                      - top
                      - center
                      - bottom
                    description: Text position (overlay_text)
                  audio_url:
                    type: string
                    format: uri
                    description: Audio URL to mux (mux_audio)
                  replace:
                    type: boolean
                    description: Replace existing audio (mux_audio)
    ContentErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Error message describing what went wrong
          example: Unauthorized
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Your Recoup API key. [Learn more](/quickstart#api-keys).
    bearerAuth:
      type: http
      scheme: bearer

````