remagicaDocs home
API referenceGenerations

Plan thumbnail concepts

POST
/thumbnail-studio/plan

Needs a key withgenerations:submit

Turns a thumbnail brief into one to three concepts, each a different click angle: a short hook printed on the image, the references with their roles, and a ready image request for each. With engine: llm an art director model looks at the brief's images (video frames, a face, a product, a style) and writes each concept; layout: collage builds it from the supplied frames. Library references are ref-NNNN ids from the thumbnail reference library.

Requires scope generations:submit.

Authorization

apiKey
headerx-api-key<token>

An API key of your workspace (rmg_…), created in the web app. It acts for that workspace, not for a person, and keeps working when its creator leaves.

Request Body

application/json
  1. body
brief*

A structured thumbnail brief.

engine?string

deterministic: the same brief always gives the same concepts, free. llm: an art director model looks at the brief's images and writes each concept's hook and prompt (charged like the prompt enhancer); it falls back to deterministic when its answer doesn't validate.

Default"deterministic"
Value in"deterministic""llm"
model?string

The image model the concepts are for (its aspect ratios, resolutions, reference limit and text rendering). GPT Image 2 when left out.

Length1 <= length <= 200

Response Body

OK

application/json
  1. response
concepts*array<>
dropped*array<>
engine*string
Value in"deterministic""llm"
fallback?string
format*

A platform preset: exact pixels and safe zones.

job*
recipe*
routedBy*string
Value in"job""keywords""recipe""video-format"
shape*
Example Request
curl -X POST 'https://api.remagica.com/api/v1/thumbnail-studio/plan' \  -H 'Content-Type: application/json' \  -d '{  "brief": {    "promise": "string"  }}'
Example Response
{  "concepts": [    {      "checks": [        "string"      ],      "hypothesis": "string",      "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",      "label": "string",      "mechanism": "object-first",      "prompt": "A lighthouse on a cliff at dusk, cinematic",      "references": [        {          "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",          "instruction": "string",          "role": "subject",          "source": "asset",          "token": "string"        }      ],      "request": {        "aspectRatio": "auto",        "count": 1,        "model": "google/nano-banana-pro",        "prompt": "A lighthouse on a cliff at dusk, cinematic",        "resolution": "1K"      },      "sections": {        "goal": "string",        "canvas": "string",        "primarySubject": "string",        "supportingCue": "string",        "geometry": "string",        "environment": "string",        "lighting": "string",        "text": "string",        "references": "string",        "preserve": "string",        "exclude": "string"      },      "text": {        "headline": "string",        "plan": "render"      }    }  ],  "dropped": [    {      "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",      "reason": "string"    }  ],  "engine": "deterministic",  "fallback": "string",  "format": {    "height": 1280,    "id": "youtube",    "label": "string",    "platforms": [      "string"    ],    "safeZones": [      {        "h": 1,        "label": "string",        "w": 1,        "x": 1,        "y": 1      }    ],    "width": 1024  },  "job": {    "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",    "label": "string"  },  "recipe": {    "id": "a5614527-5b3d-4f60-8e2a-1d9c6b4f7e05",    "name": "Autumn campaign",    "textPolicy": "none"  },  "routedBy": "job",  "shape": {    "aspectRatio": "auto",    "height": 1280,    "resolution": "1K",    "upscaled": true,    "width": 1024  }}