Find the newest viral AI video trend templates and make them from your photos or a prompt.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Make AI images from the user's prompt with a chosen MakeViral Create model, from text or from the user's photos (edit a photo, put a person in a new scene, combine photos). It spends credits from the user's MakeViral account (a failed image gives them back) and usually returns the finished image link in this call. Before calling: 1) pick the model (get_model gives its sizes and prices), 2) tell the user the price in credits, 3) when photos are used, ask the user to confirm the people in them are them or agreed, and that no one is a child. Photos: pass the files the user attached in this chat as `photos`, or public image links as `photoUrls`. Never use photos of a public figure or of someone who did not agree. Calling again with the same input within 10 minutes returns the first result; pass a new requestId to make more.
Image model id (list_models). nano-banana-2 is a good default.
What the image shows, in the user's words, made clear and specific
How many images (each one is charged). Default 1.
Shape. Default 9:16 (vertical, for TikTok and Reels).
The user's photos attached in the chat (references to edit or follow)
Public https links to photos (JPEG, PNG or WebP)
Optional id (8-64 letters, digits, - or _). The same id never charges twice.
Size. Default: the model's smallest (1K).
Needed with photos: true only after the user confirmed everyone in them is the user or agreed, and no one is a child
GPT Image only, text only: a transparent background
The server marks this tool as destructive. Running it may delete or overwrite data on the server or in any account you connected with your headers.
Make AI images from the user's prompt with a chosen MakeViral Create model, from text or from the user's photos (edit a photo, put a person in a new scene, combine photos). It spends credits from the user's MakeViral account (a failed image gives them back) and usually returns the finished image link in this call. Before calling: 1) pick the model (get_model gives its sizes and prices), 2) tell the user the price in credits, 3) when photos are used, ask the user to confirm the people in them are them or agreed, and that no one is a child. Photos: pass the files the user attached in this chat as `photos`, or public image links as `photoUrls`. Never use photos of a public figure or of someone who did not agree. Calling again with the same input within 10 minutes returns the first result; pass a new requestId to make more.
| Argument | Type | Description |
|---|---|---|
| count | integer | How many images (each one is charged). Default 1. |
| model* | string | Image model id (list_models). nano-banana-2 is a good default. |
| aspect | string | Shape. Default 9:16 (vertical, for TikTok and Reels). |
| photos | array | The user's photos attached in the chat (references to edit or follow) |
| prompt* | string | What the image shows, in the user's words, made clear and specific |
| photoUrls | array | Public https links to photos (JPEG, PNG or WebP) |
| requestId | string | Optional id (8-64 letters, digits, - or _). The same id never charges twice. |
| resolution | string | Size. Default: the model's smallest (1K). |
| photosConsent | boolean | Needed with photos: true only after the user confirmed everyone in them is the user or agreed, and no one is a child |
| transparentBackground | boolean | GPT Image only, text only: a transparent background |
{
"type": "object",
"required": [
"model",
"prompt"
],
"properties": {
"count": {
"type": "integer",
"maximum": 4,
"minimum": 1,
"description": "How many images (each one is charged). Default 1."
},
"model": {
"enum": [
"nano-banana-pro",
"nano-banana-2-1",
"nano-banana-2",
"gpt-image-2-5",
"seedream-5-pro",
"flux-2-pro",
"z-image"
],
"type": "string",
"description": "Image model id (list_models). nano-banana-2 is a good default."
},
"aspect": {
"enum": [
"9:16",
"16:9",
"1:1",
"4:3",
"3:4",
"4:5",
"3:2",
"2:3",
"21:9",
"5:4"
],
"type": "string",
"description": "Shape. Default 9:16 (vertical, for TikTok and Reels)."
},
"photos": {
"type": "array",
"items": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "Temporary link to the file"
}
},
"additionalProperties": false
},
"maxItems": 10,
"description": "The user's photos attached in the chat (references to edit or follow)"
},
"prompt": {
"type": "string",
"description": "What the image shows, in the user's words, made clear and specific"
},
"photoUrls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"description": "Public https links to photos (JPEG, PNG or WebP)"
},
"requestId": {
"type": "string",
"description": "Optional id (8-64 letters, digits, - or _). The same id never charges twice."
},
"resolution": {
"enum": [
"1K",
"2K",
"4K"
],
"type": "string",
"description": "Size. Default: the model's smallest (1K)."
},
"photosConsent": {
"type": "boolean",
"description": "Needed with photos: true only after the user confirmed everyone in them is the user or agreed, and no one is a child"
},
"transparentBackground": {
"type": "boolean",
"description": "GPT Image only, text only: a transparent background"
}
},
"additionalProperties": false
}Make a one-hour link where the user adds the photos for a template on makeviral.ai (on any device). Use it when the user cannot attach photos in this chat. Give the user the link, wait until they say they are done, then call run_template with the returned uploadId.
| Argument | Type | Description |
|---|---|---|
| version | string | Version id. Default 'main'. |
| template* | string | Template slug |
{
"type": "object",
"required": [
"template"
],
"properties": {
"version": {
"type": "string",
"description": "Version id. Default 'main'."
},
"template": {
"type": "string",
"description": "Template slug"
}
},
"additionalProperties": false
}Make an AI video from the user's prompt with a chosen MakeViral Create model (Seedance, Kling, Veo, Wan, Grok Imagine, MiniMax...): from text, from a start frame photo (and an end frame on some models), or from references (photos, clips and sounds), with Kling multi-shot and elements. It spends credits from the user's MakeViral account (a failed video gives them back). A video takes a few minutes: this call returns at once, then call get_creation with wait true until it is ready and give the user the link. Before calling: 1) pick the model and check what it takes with get_model, 2) tell the user the price in credits, 3) with photos or clips, ask the user to confirm the people in them are them or agreed, and that no one is a child. Files: pass files the user attached in this chat (startFrame, endFrame, referencePhotos, referenceSounds), or public https links in the *Url fields. Clips must be links (MP4 or MOV). Never use photos of a public figure or of someone who did not agree. Calling again with the same input within 10 minutes returns the first video; pass a new requestId to make another.
| Argument | Type | Description |
|---|---|---|
| seed | integer | Wan only: repeat a result |
| count | integer | How many videos (each one is charged). Default 1. |
| model* | string | Video model id (list_models). seedance-2-5 is a good default. |
| shots | array | Kling multi-shot: each shot's prompt and length; they add up to the video length |
| sound | boolean |
Show the signed-in MakeViral account: its first name and credit balance. Every run uses credits, so use it before a run when the price might be more than the balance.
No arguments.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Check images or videos started with create_image or create_video: status, minutes left, and the finished link when ready. With wait true the call waits up to 40 seconds for them to finish, so you can wait for the result in the same answer and then give the user the link.
| Argument | Type | Description |
|---|---|---|
| id | string | One id (instead of ids) |
| ids | array | Ids from create_image or create_video, e.g. 'vid_...' |
| wait | boolean | Wait up to 40 seconds for them to finish. Default false. |
{
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "One id (instead of ids)"
},
"ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 4,
"minItems": 1,
"description": "Ids from create_image or create_video, e.g. 'vid_...'"
},
"wait": {
"type": "boolean",
"description": "Wait up to 40 seconds for them to finish. Default false."
}
},
"additionalProperties": false
}Show one MakeViral Create model: the shapes, sizes and lengths it makes, the photos, clips and sounds it takes, special inputs (end frame, multi-shot, elements, motion style), and the price in credits for every size and length. With resolution, durationSec and count it also gives the exact price of that choice, so you can tell the user before create_image or create_video.
| Argument | Type | Description |
|---|---|---|
| count | integer | Optional, how many to price |
| model* | string | Model id from list_models |
| resolution | string | Optional, to price one choice: e.g. '2K' (image) or '720p' (video) |
| clipSeconds | number | Optional, seconds of a reference clip (they add to the price) |
| durationSec | integer | Optional, video length to price |
| referencePhotos | integer | Optional, video reference photos (one model charges for more than 5) |
{
"type": "object",
"required": [
"model"
],
"properties": {
"count": {
"type": "integer",
"maximum": 4,
"minimum": 1,
"description": "Optional, how many to price"
},
"model": {
"enum": [
"nano-banana-pro",
"nano-banana-2-1",
"nano-banana-2",
"gpt-image-2-5",
"seedream-5-pro",
"flux-2-pro",
"z-image",
"seedance-2-5",
"kling-3-pro",
"kling-3-omni",
"veo-3-1-fast",
"wan-3",
"minimax-h3",
"seedance-2",
"veo-3-1-quality",
"veo-3-1-lite",
"seedance-2-fast",
"grok-imagine",
"seedance-2-mini"
],
"type": "string",
"description": "Model id from list_models"
},
"resolution": {
"type": "string",
"description": "Optional, to price one choice: e.g. '2K' (image) or '720p' (video)"
},
"clipSeconds": {
"type": "number",
"maximum": 120,
"minimum": 0,
"description": "Optional, seconds of a reference clip (they add to the price)"
},
"durationSec": {
"type": "integer",
"maximum": 60,
"minimum": 1,
"description": "Optional, video length to price"
},
"referencePhotos": {
"type": "integer",
"maximum": 20,
"minimum": 0,
"description": "Optional, video reference photos (one model charges for more than 5)"
}
},
"additionalProperties": false
}Check a MakeViral run started with run_template: its status, minutes left, and the finished video or photo link when it is ready. With wait true the call waits up to 40 seconds for the run to finish, so you can wait for the result in the same answer and then give the user the link.
| Argument | Type | Description |
|---|---|---|
| wait | boolean | Wait up to 40 seconds for the run to finish before answering. Default false. |
| runId* | string | The run id from run_template, e.g. 'tr_ag...' |
{
"type": "object",
"required": [
"runId"
],
"properties": {
"wait": {
"type": "boolean",
"description": "Wait up to 40 seconds for the run to finish before answering. Default false."
},
"runId": {
"type": "string",
"description": "The run id from run_template, e.g. 'tr_ag...'"
}
},
"additionalProperties": false
}Show one MakeViral template: what it makes, its versions (for example solo, with a friend, with a pet), the photos each version needs in order, quality options, optional 'make it yours' fields, the price in credits, the user's credit balance when signed in, and an example clip. Use it when the user names or picks one template. Call it before run_template so you pass the right version and photos, and tell the user the price in credits.
| Argument | Type | Description |
|---|---|---|
| slug* | string | Template slug from search_templates, e.g. 'knight-cat-ai-video' |
{
"type": "object",
"required": [
"slug"
],
"properties": {
"slug": {
"type": "string",
"description": "Template slug from search_templates, e.g. 'knight-cat-ai-video'"
}
},
"additionalProperties": false
}List the user's latest MakeViral Create images and videos (newest first) with their status and links. Template runs are in list_runs.
| Argument | Type | Description |
|---|---|---|
| kind | string | |
| limit | integer |
{
"type": "object",
"properties": {
"kind": {
"enum": [
"image",
"video"
],
"type": "string"
},
"limit": {
"type": "integer",
"default": 10,
"maximum": 20,
"minimum": 1
}
},
"additionalProperties": false
}List the AI models of MakeViral Create (makeviral.ai/create): image models (Nano Banana, GPT Image, Seedream, Flux...) and video models (Seedance, Kling, Veo, Wan, Grok Imagine, MiniMax...) with what each takes and its lowest price in MakeViral credits. Use it when the user asks MakeViral for an image or a video from their own idea (not a trend template), wants a specific model such as Kling, Veo or Seedance, or asks which MakeViral model to use. Then use get_model for one model's full rules and prices, and create_image or create_video to make it.
| Argument | Type | Description |
|---|---|---|
| kind | string | Only image models or only video models |
{
"type": "object",
"properties": {
"kind": {
"enum": [
"image",
"video"
],
"type": "string",
"description": "Only image models or only video models"
}
},
"additionalProperties": false
}List the user's latest MakeViral template runs (newest first) with their status and result links.
| Argument | Type | Description |
|---|---|---|
| limit | integer |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 10,
"maximum": 20,
"minimum": 1
}
},
"additionalProperties": false
}Make a MakeViral trend video or photo from the user's photos. It spends the version's credits from the user's MakeViral account (a failed run gives them all back). A photo is usually ready in this call and the result has the link. A video takes a few minutes: then call get_run with wait true until it is ready, and give the user the link. Before calling: 1) pick the template and version with get_template, 2) tell the user the price in credits, 3) ask for exactly the photos that version needs, in its order, 4) ask the user to confirm the people in the photos are them or people who agreed, and that no one in them is a child. Photos: pass the files the user attached in this chat as `photos`, OR public image links as `photoUrls`, OR an `uploadId` from create_upload_link when the user cannot attach files here. Never use photos of a public figure or of someone who did not agree.
| Argument | Type | Description |
|---|---|---|
| fields | object | Optional 'make it yours' values by field id (get_template lists them) |
| object | object | Knight sword swap only: the object one knight hands the other |
| photos | array | The user's photos attached in the chat, in the version's photo order |
| quality | string | Quality option id from get_template. Default: the template's default option (listed first). |
| version | string | Version id from get_template. Default 'main'. |
| template |
Find MakeViral trend templates: viral AI video and photo trends (knight cat, hotel lobby walk, Halloween costumes, dance reels...) that turn the user's own photos of themselves, their partner, friends or pets into a short video or photo. Use it when the user wants a trend video, asks what they can make from a photo, or names a TikTok or Instagram trend. Results are sorted by popularity and show an example clip, the photos needed and the price in MakeViral credits. With no query it returns the most popular templates. Suggest a few that fit and say that each one costs credits from the user's MakeViral account, then use get_template when the user picks one.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| query | string | Words for the trend or idea, e.g. 'knight cat', 'halloween couple', 'dance' |
| output | string | |
| season | string | e.g. 'halloween' |
| subject | string | Who or what is in the photos (product = a brand ad from a product photo and a logo) |
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"default": 8,
"maximum": 30,
"minimum": 1
},
"query": {
"type": "string",
"description": "Words for the trend or idea, e.g. 'knight cat', 'halloween couple', 'dance'"
},
"output": {
"enum": [
"photo",
"video"
],
"type": "string"
},
"season": {
"type": "string",
"description": "e.g. 'halloween'"
},
"subject": {
"enum": [
"person",
"pet",
"couple",
"group",
"product"
],
"type": "string",
"description": "Who or what is in the photos (product = a brand ad from a product photo and a logo)"
}
},
"additionalProperties": false
}Send MakeViral a trend or idea that has no template yet, so the team can add it. Use it when search_templates finds nothing that fits what the user wants, and only after the user agrees. Include the TikTok or Instagram link of the trend when the user has one.
| Argument | Type | Description |
|---|---|---|
| idea* | string | The trend or idea in one or two sentences |
| link | string | Optional https link to an example of the trend |
{
"type": "object",
"required": [
"idea"
],
"properties": {
"idea": {
"type": "string",
"description": "The trend or idea in one or two sentences"
},
"link": {
"type": "string",
"description": "Optional https link to an example of the trend"
}
},
"additionalProperties": false
}| Sound on or off where the model has the choice. Default on. |
| aspect | string | Shape. Default 9:16 (vertical). With a start frame most models follow the photo's shape. |
| motion | string | Grok Imagine only |
| prompt | string | What happens in the video. With references, name them as get_model says (e.g. [Image 1]). |
| clipMode | string | Kling Omni with a clip: 'edit' changes the clip itself (default), 'reference' makes a new video from it |
| elements | array | Kling 3.0 elements: people or things from 2-4 photos each |
| endFrame | object | The last frame (models with an end frame), with a start frame |
| autoShots | boolean | Kling Omni: the model plans the shots itself |
| requestId | string | Optional id (8-64 letters, digits, - or _). The same id never charges twice. |
| webSearch | boolean | Seedance, text to video only: look things up online |
| resolution | string | Size. Default: the model's smallest. |
| startFrame | object | The first frame: a photo the user attached in the chat |
| durationSec | integer | Length in seconds (get_model lists them). Default: the model's default. |
| endFrameUrl | string | The last frame as a public https photo link |
| elementPhotos | array | The element photos attached in the chat, element by element in order |
| keepClipSound | boolean | With a clip: put the clip's own sound on the result |
| photosConsent | boolean | Needed with photos or clips: true only after the user confirmed everyone in them is the user or agreed, and no one is a child |
| startFrameUrl | string | The first frame as a public https photo link |
| referenceClips | array | Reference clips (MP4 or MOV) as files, where the chat can attach them |
| referencePhotos | array | Reference photos attached in the chat (people, products, a style). Never with frames. |
| referenceSounds | array | Reference sounds (MP3 or WAV) attached in the chat |
| referenceClipUrls | array | Reference clips as public https links to an MP4 or MOV file |
| referencePhotoUrls | array | Reference photos as public https links |
| referenceSoundUrls | array | Reference sounds as public https links |
{
"type": "object",
"required": [
"model"
],
"properties": {
"seed": {
"type": "integer",
"minimum": 0,
"description": "Wan only: repeat a result"
},
"count": {
"type": "integer",
"maximum": 2,
"minimum": 1,
"description": "How many videos (each one is charged). Default 1."
},
"model": {
"enum": [
"seedance-2-5",
"kling-3-pro",
"kling-3-omni",
"veo-3-1-fast",
"wan-3",
"minimax-h3",
"seedance-2",
"veo-3-1-quality",
"veo-3-1-lite",
"seedance-2-fast",
"grok-imagine",
"seedance-2-mini"
],
"type": "string",
"description": "Video model id (list_models). seedance-2-5 is a good default."
},
"shots": {
"type": "array",
"items": {
"type": "object",
"required": [
"prompt",
"durationSec"
],
"properties": {
"prompt": {
"type": "string"
},
"durationSec": {
"type": "integer",
"maximum": 15,
"minimum": 1
}
},
"additionalProperties": false
},
"maxItems": 6,
"minItems": 2,
"description": "Kling multi-shot: each shot's prompt and length; they add up to the video length"
},
"sound": {
"type": "boolean",
"description": "Sound on or off where the model has the choice. Default on."
},
"aspect": {
"enum": [
"9:16",
"3:4",
"1:1",
"4:3",
"16:9",
"21:9",
"2:3",
"3:2"
],
"type": "string",
"description": "Shape. Default 9:16 (vertical). With a start frame most models follow the photo's shape."
},
"motion": {
"enum": [
"normal",
"fun"
],
"type": "string",
"description": "Grok Imagine only"
},
"prompt": {
"type": "string",
"description": "What happens in the video. With references, name them as get_model says (e.g. [Image 1])."
},
"clipMode": {
"enum": [
"edit",
"reference"
],
"type": "string",
"description": "Kling Omni with a clip: 'edit' changes the clip itself (default), 'reference' makes a new video from it"
},
"elements": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"description"
],
"properties": {
"name": {
"type": "string",
"description": "Lower case, e.g. 'mia'; write @mia in the prompt"
},
"photoUrls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 4,
"description": "2-4 public photo links of it"
},
"photoCount": {
"type": "integer",
"maximum": 4,
"minimum": 1,
"description": "How many of elementPhotos belong to it, in order"
},
"description": {
"type": "string",
"description": "Who or what it is, in a few words"
}
},
"additionalProperties": false
},
"maxItems": 3,
"description": "Kling 3.0 elements: people or things from 2-4 photos each"
},
"endFrame": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "Temporary link to the file"
}
},
"description": "The last frame (models with an end frame), with a start frame",
"additionalProperties": false
},
"autoShots": {
"type": "boolean",
"description": "Kling Omni: the model plans the shots itself"
},
"requestId": {
"type": "string",
"description": "Optional id (8-64 letters, digits, - or _). The same id never charges twice."
},
"webSearch": {
"type": "boolean",
"description": "Seedance, text to video only: look things up online"
},
"resolution": {
"enum": [
"480p",
"720p",
"1080p",
"4k",
"768p",
"2k"
],
"type": "string",
"description": "Size. Default: the model's smallest."
},
"startFrame": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "Temporary link to the file"
}
},
"description": "The first frame: a photo the user attached in the chat",
"additionalProperties": false
},
"durationSec": {
"type": "integer",
"maximum": 30,
"minimum": 1,
"description": "Length in seconds (get_model lists them). Default: the model's default."
},
"endFrameUrl": {
"type": "string",
"description": "The last frame as a public https photo link"
},
"elementPhotos": {
"type": "array",
"items": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "Temporary link to the file"
}
},
"additionalProperties": false
},
"maxItems": 12,
"description": "The element photos attached in the chat, element by element in order"
},
"keepClipSound": {
"type": "boolean",
"description": "With a clip: put the clip's own sound on the result"
},
"photosConsent": {
"type": "boolean",
"description": "Needed with photos or clips: true only after the user confirmed everyone in them is the user or agreed, and no one is a child"
},
"startFrameUrl": {
"type": "string",
"description": "The first frame as a public https photo link"
},
"referenceClips": {
"type": "array",
"items": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "Temporary link to the file"
}
},
"additionalProperties": false
},
"maxItems": 3,
"description": "Reference clips (MP4 or MOV) as files, where the chat can attach them"
},
"referencePhotos": {
"type": "array",
"items": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "Temporary link to the file"
}
},
"additionalProperties": false
},
"maxItems": 9,
"description": "Reference photos attached in the chat (people, products, a style). Never with frames."
},
"referenceSounds": {
"type": "array",
"items": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "Temporary link to the file"
}
},
"additionalProperties": false
},
"maxItems": 3,
"description": "Reference sounds (MP3 or WAV) attached in the chat"
},
"referenceClipUrls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 3,
"description": "Reference clips as public https links to an MP4 or MOV file"
},
"referencePhotoUrls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 9,
"description": "Reference photos as public https links"
},
"referenceSoundUrls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 3,
"description": "Reference sounds as public https links"
}
},
"additionalProperties": false
}| string |
| Template slug, e.g. 'knight-cat-ai-video' |
| uploadId | string | The id from create_upload_link, after the user added the photos there |
| photoUrls | array | Public https links to the photos (JPEG, PNG or WebP), in the version's photo order |
| requestId | string | Optional id (8-64 letters, digits, - or _). The same id never charges twice. Without it, the same request within 10 minutes returns the first run; pass a new id to make it again with the same photos. |
| photosConsent* | boolean | true only after the user confirmed that everyone in the photos is the user or agreed to it, and that no one is a child |
{
"type": "object",
"required": [
"template",
"photosConsent"
],
"properties": {
"fields": {
"type": "object",
"description": "Optional 'make it yours' values by field id (get_template lists them)",
"additionalProperties": {
"type": "string"
}
},
"object": {
"type": "object",
"properties": {
"pick": {
"type": "string"
},
"text": {
"type": "string",
"maxLength": 60
}
},
"description": "Knight sword swap only: the object one knight hands the other",
"additionalProperties": false
},
"photos": {
"type": "array",
"items": {
"type": "object",
"required": [
"download_url",
"file_id"
],
"properties": {
"file_id": {
"type": "string"
},
"file_name": {
"type": "string"
},
"mime_type": {
"type": "string"
},
"download_url": {
"type": "string",
"description": "Temporary link to the file"
}
},
"additionalProperties": false
},
"maxItems": 4,
"description": "The user's photos attached in the chat, in the version's photo order"
},
"quality": {
"type": "string",
"description": "Quality option id from get_template. Default: the template's default option (listed first)."
},
"version": {
"type": "string",
"description": "Version id from get_template. Default 'main'."
},
"template": {
"type": "string",
"description": "Template slug, e.g. 'knight-cat-ai-video'"
},
"uploadId": {
"type": "string",
"description": "The id from create_upload_link, after the user added the photos there"
},
"photoUrls": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 4,
"description": "Public https links to the photos (JPEG, PNG or WebP), in the version's photo order"
},
"requestId": {
"type": "string",
"description": "Optional id (8-64 letters, digits, - or _). The same id never charges twice. Without it, the same request within 10 minutes returns the first run; pass a new id to make it again with the same photos."
},
"photosConsent": {
"type": "boolean",
"description": "true only after the user confirmed that everyone in the photos is the user or agreed to it, and that no one is a child"
}
},
"additionalProperties": false
}