{"info":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","description":"<html><head></head><body><p>Welcome on the official revid.ai API documentation. This is in beta. For any issue, reach out to us at <a href=\"https://mailto:hello@typesframes.com/\">hello@revid.ai</a></p>\n<p><strong>Get your revid.ai API key here</strong>: <a href=\"https://www.typeframes.com/account\">https://www.revid.ai/account</a></p>\n<p>Then, <strong>add a header</strong> named \"key\" with your API key as value.</p>\n<p>To use the API, make sure to be on the \"growth\" plan. Each api call costs 1 credit + the credits due dependanding of the options you provide.</p>\n<p><strong>How to find the right parameters?</strong><br>Head to <a href=\"https://www.revid.ai/create\">https://www.revid.ai/create</a> and notice the \"Get API Code\" next to \"Create a new video\", on the top of the page. Then hit it to get the correct parameters to create the video you want.</p>\n<p><strong>How long to generate?</strong></p>\n<p>It depends on your parameters. It can take up to 15 minutes if you use many AI features. That is why output can be sent to a webhook.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"36975521","collectionId":"27722414-6ba7-4958-8e7a-e52b43a9beeb","publishedId":"2sA3kPo4BR","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2024-07-14T12:41:55.000Z"},"item":[{"name":"Create Video","id":"680c88b0-2684-438f-8baa-16efbe7add7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"webhook\": \"fill this webhook\",\n    \"creationParams\": {\n        \"mediaType\": \"movingImage\",\n        \"captionPresetName\": \"Wrap 1\",\n        \"selectedVoice\": \"SAz9YHcvj6GT2YYXdXww\",\n        \"hasEnhancedGeneration\": true,\n        \"generationPreset\": \"DEFAULT\",\n        \"generationUserPrompt\": \"Dragonball universe\",\n        \"selectedAudio\": \"Observer\",\n        \"origin\": \"/create\",\n        \"inputText\": \"this is a test\",\n        \"flowType\": \"text-to-video\",\n        \"slug\": \"create-tiktok-video\",\n        \"hasToGenerateVoice\": true,\n        \"hasToTranscript\": false,\n        \"hasToSearchMedia\": true,\n        \"hasAvatar\": false,\n        \"hasWebsiteRecorder\": false,\n        \"hasTextSmallAtBottom\": false,\n        \"ratio\": \"9 / 16\",\n        \"sourceType\": \"contentScraping\",\n        \"selectedStoryStyle\": {\n            \"value\": \"custom\",\n            \"label\": \"Custom\"\n        },\n        \"hasToGenerateVideos\": true,\n        \"audioUrl\": \"https://cdn.revid.ai/audio/observer.mp3\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.revid.ai/api/public/v2/render","description":"<p><strong>Parameters:</strong></p>\n<ul>\n<li><p><code>webhook</code>: optional - the url to call when project is completed or errored.</p>\n</li>\n<li><p><code>creationParams</code>: all the parameters to use to create your videos. Refer to the list below.</p>\n</li>\n<li><p><code>resolution</code>: default is <code>1080p</code>, also accepts <code>720p</code> (faster)</p>\n</li>\n<li><p><code>compression</code>: default is <code>18</code>, recommended values are <code>9</code> (low compression), <code>18</code> (medium), <code>33</code> (high compression)</p>\n</li>\n<li><p><code>frameRate</code>: default is <code>30</code>, also accepts <code>60</code></p>\n</li>\n</ul>\n<p><strong>parameters to add in creationParams:</strong></p>\n<p><code>inputText</code>: the text or url to take as main input.</p>\n<p><code>hasToGenerateVoice</code>: generate a voiceover to speak the inputText. If true, you can add those parameters:</p>\n<ul>\n<li><p><code>selectedVoice</code>: an elevenLabs voice id</p>\n</li>\n<li><p><code>hasToSearchMedia</code>: ask for the AI to add media on the video. If true, you can add those parameters:</p>\n</li>\n<li><p><code>mediaType</code>: type of media to add, can be <code>stockVideo</code>, <code>movingImage</code> or <code>aiVideo</code></p>\n<ul>\n<li><p><code>stockVideo</code>: will find stock videos</p>\n</li>\n<li><p><code>movingImage</code>: will generate AI images and animate them</p>\n</li>\n<li><p><code>aiVideo</code>: will generate AI videos with state of the art model</p>\n</li>\n</ul>\n</li>\n<li><p><code>generationPreset</code>: a preset from this list: LEONARDO, ANIME, REALISM, ILLUSTRATION, SKETCH_COLOR, SKETCH_BW, PIXAR, INK, RENDER_3D, LEGO, SCIFI, RECRO_CARTOON, PIXEL_ART, CREATIVE, PHOTOGRAPHY, RAYTRACED, ENVIRONMENT, FANTASY, ANIME_SR, MOVIE, STYLIZED_ILLUSTRATION, MANGA</p>\n</li>\n<li><p><code>generationUserPrompt</code>: a simple prompt to give indications to the media generation model</p>\n</li>\n<li><p><code>hasEnhancedGeneration</code>: set to true to use the best performing AI model</p>\n</li>\n<li><p><code>audioUrl</code>: the audio track to play in background</p>\n</li>\n<li><p><code>captionPresetName</code>: a caption preset from this list \"Basic\", \"Revid\", \"Hormozi\", \"Ali\", \"Wrap 1\", \"Wrap 2\", \"Faceless\" - default is \"Wrap 1\"</p>\n</li>\n<li><p><code>hasAvatar</code>: add a talking avatar</p>\n</li>\n<li><p><code>selectedAvatar</code>: required - an image or video to drive the talking avatar generation</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"protocol":"https","path":["api","public","v2","render"],"host":["www","revid","ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"680c88b0-2684-438f-8baa-16efbe7add7c"},{"name":"Export Project","id":"ec9a26a8-61c3-4e09-ad34-caf8d871e2e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"key","value":"YOUR_API_KEY"}],"body":{"mode":"raw","raw":"{\"pid\": \"YOUR_PROJECT_ID\"}","options":{"raw":{"language":"json"}}},"url":"https://www.revid.ai/api/public/v2/export-video","description":"<p>Export the project and return a video file.<br />Requires a valid project ID that you own as input.<br />Rendering a project costs 10 credits.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"protocol":"https","path":["api","public","v2","export-video"],"host":["www","revid","ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"ec9a26a8-61c3-4e09-ad34-caf8d871e2e3"},{"name":"Estimate Credits","id":"5a48f8ca-d579-49d3-9c30-d1087bf39bc8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"creationParams\": {\n        \"mediaType\": \"movingImage\",\n        \"captionPresetName\": \"Wrap 1\",\n        \"selectedVoice\": \"SAz9YHcvj6GT2YYXdXww\",\n        \"hasEnhancedGeneration\": true,\n        \"generationPreset\": \"DEFAULT\",\n        \"generationUserPrompt\": \"Dragonball universe\",\n        \"selectedAudio\": \"Observer\",\n        \"origin\": \"/create\",\n        \"inputText\": \"this is a test\",\n        \"flowType\": \"text-to-video\",\n        \"slug\": \"create-tiktok-video\",\n        \"hasToGenerateVoice\": true,\n        \"hasToTranscript\": false,\n        \"hasToSearchMedia\": true,\n        \"hasAvatar\": false,\n        \"hasWebsiteRecorder\": false,\n        \"hasTextSmallAtBottom\": false,\n        \"ratio\": \"9 / 16\",\n        \"sourceType\": \"contentScraping\",\n        \"selectedStoryStyle\": {\n            \"value\": \"custom\",\n            \"label\": \"Custom\"\n        },\n        \"hasToGenerateVideos\": true,\n        \"audioUrl\": \"https://cdn.revid.ai/audio/observer.mp3\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.revid.ai/api/public/v2/calculate-credits","description":"<p><strong>Parameters:</strong></p>\n<ul>\n<li><code>creationParams</code>: all the parameters to use to create your videos. Refer to the list below.</li>\n</ul>\n<p><strong>parameters to add in creationParams:</strong></p>\n<p><code>inputText</code>: the text or url to take as main input.</p>\n<p><code>hasToGenerateVoice</code>: generate a voiceover to speak the inputText. If true, you can add those parameters:</p>\n<ul>\n<li><p><code>selectedVoice</code>: an elevenLabs voice id</p>\n</li>\n<li><p><code>hasToSearchMedia</code>: ask for the AI to add media on the video. If true, you can add those parameters:</p>\n</li>\n<li><p><code>mediaType</code>: type of media to add, can be <code>stockVideo</code>, <code>movingImage</code> or <code>aiVideo</code></p>\n<ul>\n<li><p><code>stockVideo</code>: will find stock videos</p>\n</li>\n<li><p><code>movingImage</code>: will generate AI images and animate them</p>\n</li>\n<li><p><code>aiVideo</code>: will generate AI videos with state of the art model</p>\n</li>\n</ul>\n</li>\n<li><p><code>generationPreset</code>: a preset from this list: LEONARDO, ANIME, REALISM, ILLUSTRATION, SKETCH_COLOR, SKETCH_BW, PIXAR, INK, RENDER_3D, LEGO, SCIFI, RECRO_CARTOON, PIXEL_ART, CREATIVE, PHOTOGRAPHY, RAYTRACED, ENVIRONMENT, FANTASY, ANIME_SR, MOVIE, STYLIZED_ILLUSTRATION, MANGA</p>\n</li>\n<li><p><code>generationUserPrompt</code>: a simple prompt to give indications to the media generation model</p>\n</li>\n<li><p><code>hasEnhancedGeneration</code>: set to true to use the best performing AI model</p>\n</li>\n<li><p><code>audioUrl</code>: the audio track to play in background</p>\n</li>\n<li><p><code>captionPresetName</code>: a caption preset from this list \"Basic\", \"Revid\", \"Hormozi\", \"Ali\", \"Wrap 1\", \"Wrap 2\", \"Faceless\" - default is \"Wrap 1\"</p>\n</li>\n<li><p><code>hasAvatar</code>: add a talking avatar</p>\n</li>\n<li><p><code>selectedAvatar</code>: required - an image or video to drive the talking avatar generation</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"protocol":"https","path":["api","public","v2","calculate-credits"],"host":["www","revid","ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"5a48f8ca-d579-49d3-9c30-d1087bf39bc8"},{"name":"Get Video Status","id":"acae3f10-c9f5-40a7-93eb-03fcfd326466","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.revid.ai/api/public/v2/status?pid=Vx09kTolPXUnt124MSB1","description":"<p>Get the status of a project. Use the pid retrieved at project creation.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"protocol":"https","path":["api","public","v2","status"],"host":["www","revid","ai"],"query":[{"key":"pid","value":"Vx09kTolPXUnt124MSB1"}],"variable":[]}},"response":[],"_postman_id":"acae3f10-c9f5-40a7-93eb-03fcfd326466"},{"name":"Get Projects","id":"dff54bd7-bbb9-44f9-9674-d6df70295da0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"https://www.revid.ai/api/public/v2/projects?limit=10","description":"<p>Get the status of a project. Use the pid retrieved at project creation.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"protocol":"https","path":["api","public","v2","projects"],"host":["www","revid","ai"],"query":[{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"dff54bd7-bbb9-44f9-9674-d6df70295da0"},{"name":"Add To Queue","id":"95251f7d-020e-4ada-8e6b-45a8ded099fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"videoUrl\": \"https://cdn.tfrv.xyz/renders/gjcIDd3JXNbmRF7DcHp7/7sTtkKTvJ.mp4\",\n  \"channelName\": \"Outrank\",\n  \"tiktok\": {\n    //\"username\": \"revid\",\n    \"title\": \"Dummy TikTok Title\",\n    \"privacy_level\": \"PUBLIC_TO_EVERYONE\",\n    \"disable_duet\": false,\n    \"disable_stitch\": false,\n    \"disable_comment\": false,\n    \"brand_organic_toggle\": false,\n    \"brand_content_toggle\": false,\n    \"discloseContent\": false,\n    \"tiktokCoverTimestampMs\": 1000\n  },\n  \"youtube\": {\n    //\"username\": \"revid\",\n    \"title\": \"Dummy YouTube Title\",\n    \"description\": \"Dummy YouTube Description\",\n    \"thumbnailUrl\": \"https://cdn.revid.ai/thumbnails/FPUiNXXG0IBoXNXJy0v2_thumbnail.jpeg\"\n  },\n  \"instagram\": {\n    //\"username\": \"revid\",\n    \"title\": \"Dummy Instagram Title\",\n    \"thumbnailUrl\": \"https://cdn.revid.ai/thumbnails/FPUiNXXG0IBoXNXJy0v2_thumbnail.jpeg\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.revid.ai/api/public/v2/add-to-queue","description":"<p>Add a content to your Revid scheduling queue, it will be scheduled at the next available queue slot.</p>\n<p>Use either <strong><code>channelName</code></strong> (name of a channel you add in your Account Settings) or <strong>one or multiple social account</strong>.</p>\n<p>To specify social media account, use the <strong>username</strong> as specified in your <a href=\"https://revid.ai/account\">Revid account settings</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"protocol":"https","path":["api","public","v2","add-to-queue"],"host":["www","revid","ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"95251f7d-020e-4ada-8e6b-45a8ded099fd"},{"name":"Add To Queue Copy","id":"6a3dcb8c-7baf-4f4f-bf1e-44ce15284119","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"videoUrl\": \"https://cdn.tfrv.xyz/renders/gjcIDd3JXNbmRF7DcHp7/7sTtkKTvJ.mp4\",\n  \"channelName\": \"Revid\",\n  \"tiktok\": {\n    //\"username\": \"revid\",\n    \"title\": \"Dummy TikTok Title\",\n    \"privacy_level\": \"PUBLIC_TO_EVERYONE\",\n    \"disable_duet\": false,\n    \"disable_stitch\": false,\n    \"disable_comment\": false,\n    \"brand_organic_toggle\": false,\n    \"brand_content_toggle\": false,\n    \"discloseContent\": false,\n    \"tiktokCoverTimestampMs\": 1000\n  },\n  \"youtube\": {\n    //\"username\": \"revid\",\n    \"title\": \"Dummy YouTube Title\",\n    \"description\": \"Dummy YouTube Description\",\n    \"thumbnailUrl\": \"https://cdn.revid.ai/thumbnails/FPUiNXXG0IBoXNXJy0v2_thumbnail.jpeg\"\n  },\n  \"instagram\": {\n    //\"username\": \"revid\",\n    \"title\": \"Dummy Instagram Title\",\n    \"thumbnailUrl\": \"https://cdn.revid.ai/thumbnails/FPUiNXXG0IBoXNXJy0v2_thumbnail.jpeg\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"http://localhost:3000/api/public/v2/add-to-queue","description":"<p>Add a content to your Revid scheduling queue, it will be scheduled at the next available queue slot.</p>\n<p>Use either <strong><code>channelName</code></strong> (name of a channel you add in your Account Settings) or <strong>one or multiple social account</strong>.</p>\n<p>To specify social media account, use the <strong>username</strong> as specified in your <a href=\"https://revid.ai/account\">Revid account settings</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"protocol":"http","port":"3000","path":["api","public","v2","add-to-queue"],"host":["localhost"],"query":[],"variable":[]}},"response":[],"_postman_id":"6a3dcb8c-7baf-4f4f-bf1e-44ce15284119"},{"name":"Publish Now","id":"90caaa14-2b61-442a-a188-90c10a146761","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"videoUrl\": \"https://cdn.tfrv.xyz/renders/gjcIDd3JXNbmRF7DcHp7/7sTtkKTvJ.mp4\",\n  \"channelName\": \"dummy-channel-id\",\n  \"tiktok\": {\n    \"username\": \"revid\",\n    \"title\": \"Dummy TikTok Title\",\n    \"privacy_level\": \"PUBLIC_TO_EVERYONE\",\n    \"disable_duet\": false,\n    \"disable_stitch\": false,\n    \"disable_comment\": false,\n    \"brand_organic_toggle\": false,\n    \"brand_content_toggle\": false,\n    \"discloseContent\": false,\n    \"tiktokCoverTimestampMs\": 1000\n  },\n  \"youtube\": {\n    \"username\": \"revid\",\n    \"title\": \"Dummy YouTube Title\",\n    \"description\": \"Dummy YouTube Description\",\n    \"thumbnailUrl\": \"https://cdn.revid.ai/thumbnails/FPUiNXXG0IBoXNXJy0v2_thumbnail.jpeg\"\n  },\n  \"instagram\": {\n    \"username\": \"revid\",\n    \"title\": \"Dummy Instagram Title\",\n    \"thumbnailUrl\": \"https://cdn.revid.ai/thumbnails/FPUiNXXG0IBoXNXJy0v2_thumbnail.jpeg\"\n  }\n}","options":{"raw":{"language":"json"}}},"url":"https://www.revid.ai/api/public/v2/publish-now","description":"<p>Publish a video now.</p>\n<p>Use either <strong><code>channelName</code></strong> (name of a channel you add in your Account Settings) or <strong>one or multiple social account</strong>.</p>\n<p>To specify social media account, use the <strong>username</strong> as specified in your <a href=\"https://revid.ai/account\">Revid account settings</a>.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"protocol":"https","path":["api","public","v2","publish-now"],"host":["www","revid","ai"],"query":[],"variable":[]}},"response":[],"_postman_id":"90caaa14-2b61-442a-a188-90c10a146761"},{"name":"Get media","id":"b3206efd-16f3-4523-a917-e525221c70ff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"key","value":"YOUR_API_KEY"}],"url":"https://revid.ai/api/public/media-search?mediaType=video&topK=50&after=LAST_MEDIA_ID","description":"<p>Parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>mediaType</td>\n<td>string</td>\n<td>No</td>\n<td>all</td>\n<td>Filter by type: all, video, image, audio</td>\n</tr>\n<tr>\n<td>topK</td>\n<td>number</td>\n<td>No</td>\n<td>50</td>\n<td>Max results per page (max: 100)</td>\n</tr>\n<tr>\n<td>after</td>\n<td>string</td>\n<td>No</td>\n<td>-</td>\n<td>Media ID from the last result for pagination</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"protocol":"https","path":["api","public","media-search"],"host":["revid","ai"],"query":[{"key":"mediaType","value":"video"},{"key":"topK","value":"50"},{"key":"after","value":"LAST_MEDIA_ID"}],"variable":[]}},"response":[{"id":"81a1dffa-2bff-42e4-872a-70155a3d675f","name":"Get media","originalRequest":{"method":"GET","header":[{"key":"key","value":"YOUR_API_KEY"}],"url":{"raw":"https://revid.ai/api/public/media-search?mediaType=video&topK=50&after=LAST_MEDIA_ID","protocol":"https","host":["revid","ai"],"path":["api","public","media-search"],"query":[{"key":"mediaType","value":"video"},{"key":"topK","value":"50"},{"key":"after","value":"LAST_MEDIA_ID"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": 1,\n    \"results\": [\n        {\n            \"id\": \"abc123\",\n            \"mid\": \"abc123\",\n            \"uid\": \"user123\",\n            \"prompt\": \"a baby cat playing in the garden\",\n            \"mediaUrl\": \"https://storage.googleapis.com/...\",\n            \"imagePreview\": \"https://storage.googleapis.com/...\",\n            \"fileType\": \"image/png\",\n            \"type\": \"image\",\n            \"orientation\": \"16:9\"\n        }\n    ],\n    \"count\": 1\n}"}],"_postman_id":"b3206efd-16f3-4523-a917-e525221c70ff"},{"name":"Search media","id":"f66f7faf-ef1e-441d-935e-a9a415384005","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"key","value":"YOUR_API_KEY"}],"url":"https://revid.ai/api/public/media-search?search=a%20baby%20cat%20playing&mediaType=image&topK=20","description":"<p>Parameters:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Type</th>\n<th>Required</th>\n<th>Default</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>search</td>\n<td>string</td>\n<td>Yes</td>\n<td>-</td>\n<td>Natural language search query</td>\n</tr>\n<tr>\n<td>mediaType</td>\n<td>string</td>\n<td>No</td>\n<td>all</td>\n<td>Filter by type: all, video, image, audio</td>\n</tr>\n<tr>\n<td>topK</td>\n<td>number</td>\n<td>No</td>\n<td>50</td>\n<td>Max results to return (max: 100)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"protocol":"https","path":["api","public","media-search"],"host":["revid","ai"],"query":[{"key":"search","value":"a%20baby%20cat%20playing"},{"key":"mediaType","value":"image"},{"key":"topK","value":"20"}],"variable":[]}},"response":[{"id":"255d61cf-ee87-46e6-b052-15a91d6c689a","name":"Search media","originalRequest":{"method":"GET","header":[{"key":"key","value":"YOUR_API_KEY"}],"url":{"raw":"https://revid.ai/api/public/media-search?search=a%20baby%20cat%20playing&mediaType=image&topK=20","protocol":"https","host":["revid","ai"],"path":["api","public","media-search"],"query":[{"key":"search","value":"a%20baby%20cat%20playing"},{"key":"mediaType","value":"image"},{"key":"topK","value":"20"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"success\": 1,\n    \"results\": [\n        {\n            \"id\": \"abc123\",\n            \"mid\": \"abc123\",\n            \"uid\": \"user123\",\n            \"prompt\": \"a baby cat playing in the garden\",\n            \"mediaUrl\": \"https://storage.googleapis.com/...\",\n            \"imagePreview\": \"https://storage.googleapis.com/...\",\n            \"fileType\": \"image/png\",\n            \"type\": \"image\",\n            \"orientation\": \"16:9\"\n        }\n    ],\n    \"count\": 1\n}"}],"_postman_id":"f66f7faf-ef1e-441d-935e-a9a415384005"},{"name":"Rename Project","id":"e5959e32-9b3d-42e1-890f-2f071c28da7c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json","type":"text"},{"key":"key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"pid\": \"YOUR_PROJECT_ID\",\n  \"name\": \"My New Project Name\"\n}","options":{"raw":{"language":"json"}}},"url":"https://revid.ai/api/public/v2/rename-project","description":"<p>Renames a project owned by the API key user.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"protocol":"https","path":["api","public","v2","rename-project"],"host":["revid","ai"],"query":[],"variable":[]}},"response":[{"id":"8c4a2495-6f3b-465d-9a75-1fcf95405d17","name":"200 OK","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"key","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n  \"pid\": \"YOUR_PROJECT_ID\",\n  \"name\": \"My New Project Name\"\n}"},"url":""},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 1,\n  \"pid\": \"YOUR_PROJECT_ID\",\n  \"name\": \"My New Project Name\"\n}"},{"id":"2b58aa14-d756-43a7-ba58-e8b5b102de8c","name":"404 Not Found","originalRequest":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"key","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n  \"pid\": \"INVALID_OR_OTHER_USER_PROJECT_ID\",\n  \"name\": \"Any Name\"\n}"},"url":""},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 0,\n  \"error\": \"Project not found or does not belong to this user\"\n}"}],"_postman_id":"e5959e32-9b3d-42e1-890f-2f071c28da7c"},{"name":"Get All Consistent Characters","id":"b9900b15-be35-4617-9562-ab1fe2268b85","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"key","value":"{{apiKey}}","description":"<p>Your Revid API key (required). Found in your account settings.</p>\n","type":"text"}],"url":"{{baseUrl}}/api/public/v2/consistent-characters","description":"<p>Retrieve all consistent characters for the authenticated user.</p>\n<p>Returns characters from two sources:</p>\n<ol>\n<li><strong>Avatar-based characters</strong> — saved via the UI or API, stored with a name and description</li>\n<li><strong>LoRA-trained characters</strong> — trained custom character models with status \"ready\"</li>\n</ol>\n<p>Results are sorted by <code>createdAt</code> descending (newest first).</p>\n<h3 id=\"response-fields-per-character\">Response fields per character</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>string</td>\n<td>Unique character ID (use this for deletion)</td>\n</tr>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Character name</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>Character description (used by AI to understand context)</td>\n</tr>\n<tr>\n<td><code>imageUrl</code></td>\n<td>string</td>\n<td>URL of the character image</td>\n</tr>\n<tr>\n<td><code>contentType</code></td>\n<td>string</td>\n<td>Media type — <code>image/png</code>, <code>video/mp4</code>, or <code>character</code> (for LoRA)</td>\n</tr>\n<tr>\n<td><code>source</code></td>\n<td>string</td>\n<td>Origin — <code>avatar</code> or <code>lora</code></td>\n</tr>\n<tr>\n<td><code>createdAt</code></td>\n<td>number</td>\n<td>Unix timestamp in milliseconds</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"path":["api","public","v2","consistent-characters"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"91da6533-2eb0-4a34-b67e-a9c98414de81","name":"200 - Success","originalRequest":{"method":"GET","header":[{"key":"key","value":"{{apiKey}}","description":"Your Revid API key (required). Found in your account settings.","type":"text"}],"url":"{{baseUrl}}/api/public/v2/consistent-characters","description":"Retrieve all consistent characters for the authenticated user.\n\nReturns characters from two sources:\n1. **Avatar-based characters** — saved via the UI or API, stored with a name and description\n2. **LoRA-trained characters** — trained custom character models with status \"ready\"\n\nResults are sorted by `createdAt` descending (newest first).\n\n### Response fields per character\n| Field | Type | Description |\n|---|---|---|\n| `id` | string | Unique character ID (use this for deletion) |\n| `name` | string | Character name |\n| `description` | string | Character description (used by AI to understand context) |\n| `imageUrl` | string | URL of the character image |\n| `contentType` | string | Media type — `image/png`, `video/mp4`, or `character` (for LoRA) |\n| `source` | string | Origin — `avatar` or `lora` |\n| `createdAt` | number | Unix timestamp in milliseconds |"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 1,\n  \"characters\": [\n    {\n      \"id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n      \"name\": \"Sarah\",\n      \"description\": \"A friendly teacher who explains complex topics simply\",\n      \"imageUrl\": \"https://cdn.example.com/characters/sarah.png\",\n      \"contentType\": \"image/png\",\n      \"source\": \"avatar\",\n      \"createdAt\": 1708099200000\n    },\n    {\n      \"id\": \"b2c3d4e5-f6a7-8901-bcde-f12345678901\",\n      \"name\": \"Detective\",\n      \"description\": \"A mysterious detective in a noir setting\",\n      \"imageUrl\": \"https://cdn.example.com/characters/detective.png\",\n      \"contentType\": \"character\",\n      \"source\": \"lora\",\n      \"createdAt\": 1707494400000\n    }\n  ]\n}"},{"id":"df1f75d0-2d15-47b3-bbe2-9de209668615","name":"500 - No API key","originalRequest":{"method":"GET","header":[{"key":"key","value":"{{apiKey}}","description":"Your Revid API key (required). Found in your account settings.","type":"text"}],"url":"{{baseUrl}}/api/public/v2/consistent-characters","description":"Retrieve all consistent characters for the authenticated user.\n\nReturns characters from two sources:\n1. **Avatar-based characters** — saved via the UI or API, stored with a name and description\n2. **LoRA-trained characters** — trained custom character models with status \"ready\"\n\nResults are sorted by `createdAt` descending (newest first).\n\n### Response fields per character\n| Field | Type | Description |\n|---|---|---|\n| `id` | string | Unique character ID (use this for deletion) |\n| `name` | string | Character name |\n| `description` | string | Character description (used by AI to understand context) |\n| `imageUrl` | string | URL of the character image |\n| `contentType` | string | Media type — `image/png`, `video/mp4`, or `character` (for LoRA) |\n| `source` | string | Origin — `avatar` or `lora` |\n| `createdAt` | number | Unix timestamp in milliseconds |"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 0,\n  \"error\": \"Api key not defined - add it in a header property called 'key'\"\n}"},{"id":"90eeb769-9ee7-43ce-81c7-ad69ccbb5f81","name":"500 - No active subscription","originalRequest":{"method":"GET","header":[{"key":"key","value":"{{apiKey}}","description":"Your Revid API key (required). Found in your account settings.","type":"text"}],"url":"{{baseUrl}}/api/public/v2/consistent-characters","description":"Retrieve all consistent characters for the authenticated user.\n\nReturns characters from two sources:\n1. **Avatar-based characters** — saved via the UI or API, stored with a name and description\n2. **LoRA-trained characters** — trained custom character models with status \"ready\"\n\nResults are sorted by `createdAt` descending (newest first).\n\n### Response fields per character\n| Field | Type | Description |\n|---|---|---|\n| `id` | string | Unique character ID (use this for deletion) |\n| `name` | string | Character name |\n| `description` | string | Character description (used by AI to understand context) |\n| `imageUrl` | string | URL of the character image |\n| `contentType` | string | Media type — `image/png`, `video/mp4`, or `character` (for LoRA) |\n| `source` | string | Origin — `avatar` or `lora` |\n| `createdAt` | number | Unix timestamp in milliseconds |"},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 0,\n  \"error\": \"No active subscription found\"\n}"}],"_postman_id":"b9900b15-be35-4617-9562-ab1fe2268b85"},{"name":"Create Consistent Character","id":"8ff48791-0e58-4b81-8132-5eea77dd4b22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"key","value":"{{apiKey}}","description":"<p>Your Revid API key (required). Found in your account settings.</p>\n","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Sarah\",\n  \"description\": \"A friendly teacher who explains complex topics simply\",\n  \"imageUrl\": \"https://cdn.example.com/characters/sarah.png\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/public/v2/consistent-characters","description":"<p>Create a new consistent character.</p>\n<p>The character is saved as an avatar with a description, making it available both as a consistent character in stories/videos and as a talking avatar in video creation tools.</p>\n<h3 id=\"request-body\">Request body</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>name</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Character name (min 3 characters)</td>\n</tr>\n<tr>\n<td><code>description</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Character description (min 10 characters). This is used by the AI to understand when and how to use this character.</td>\n</tr>\n<tr>\n<td><code>imageUrl</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>A valid URL pointing to the character image</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"validation-rules\">Validation rules</h3>\n<ul>\n<li><code>name</code> must be at least 3 characters</li>\n<li><code>description</code> must be at least 10 characters</li>\n<li><code>imageUrl</code> must be a valid, well-formed URL</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"path":["api","public","v2","consistent-characters"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"df61c78c-da0c-4417-b1d5-90a4c02542de","name":"200 - Success","originalRequest":{"method":"POST","header":[{"key":"key","value":"{{apiKey}}","description":"Your Revid API key (required). Found in your account settings.","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Sarah\",\n  \"description\": \"A friendly teacher who explains complex topics simply\",\n  \"imageUrl\": \"https://cdn.example.com/characters/sarah.png\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/public/v2/consistent-characters","description":"Create a new consistent character.\n\nThe character is saved as an avatar with a description, making it available both as a consistent character in stories/videos and as a talking avatar in video creation tools.\n\n### Request body\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `name` | string | Yes | Character name (min 3 characters) |\n| `description` | string | Yes | Character description (min 10 characters). This is used by the AI to understand when and how to use this character. |\n| `imageUrl` | string | Yes | A valid URL pointing to the character image |\n\n### Validation rules\n- `name` must be at least 3 characters\n- `description` must be at least 10 characters\n- `imageUrl` must be a valid, well-formed URL"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 1,\n  \"character\": {\n    \"id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n    \"name\": \"Sarah\",\n    \"description\": \"A friendly teacher who explains complex topics simply\",\n    \"imageUrl\": \"https://cdn.example.com/characters/sarah.png\",\n    \"contentType\": \"image/png\",\n    \"source\": \"avatar\",\n    \"createdAt\": 1708099200000\n  }\n}"},{"id":"b5a59900-fd36-45d0-a481-a0fd17f86749","name":"400 - Missing name","originalRequest":{"method":"POST","header":[{"key":"key","value":"{{apiKey}}","description":"Your Revid API key (required). Found in your account settings.","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Sarah\",\n  \"description\": \"A friendly teacher who explains complex topics simply\",\n  \"imageUrl\": \"https://cdn.example.com/characters/sarah.png\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/public/v2/consistent-characters","description":"Create a new consistent character.\n\nThe character is saved as an avatar with a description, making it available both as a consistent character in stories/videos and as a talking avatar in video creation tools.\n\n### Request body\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `name` | string | Yes | Character name (min 3 characters) |\n| `description` | string | Yes | Character description (min 10 characters). This is used by the AI to understand when and how to use this character. |\n| `imageUrl` | string | Yes | A valid URL pointing to the character image |\n\n### Validation rules\n- `name` must be at least 3 characters\n- `description` must be at least 10 characters\n- `imageUrl` must be a valid, well-formed URL"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 0,\n  \"error\": \"name is required and must be at least 3 characters\"\n}"},{"id":"873b0c21-3b11-4e35-a85e-871ec5811ef0","name":"400 - Missing description","originalRequest":{"method":"POST","header":[{"key":"key","value":"{{apiKey}}","description":"Your Revid API key (required). Found in your account settings.","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Sarah\",\n  \"description\": \"A friendly teacher who explains complex topics simply\",\n  \"imageUrl\": \"https://cdn.example.com/characters/sarah.png\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/public/v2/consistent-characters","description":"Create a new consistent character.\n\nThe character is saved as an avatar with a description, making it available both as a consistent character in stories/videos and as a talking avatar in video creation tools.\n\n### Request body\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `name` | string | Yes | Character name (min 3 characters) |\n| `description` | string | Yes | Character description (min 10 characters). This is used by the AI to understand when and how to use this character. |\n| `imageUrl` | string | Yes | A valid URL pointing to the character image |\n\n### Validation rules\n- `name` must be at least 3 characters\n- `description` must be at least 10 characters\n- `imageUrl` must be a valid, well-formed URL"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 0,\n  \"error\": \"description is required and must be at least 10 characters\"\n}"},{"id":"6070eb3a-8f58-4587-be18-38f18057ee69","name":"400 - Invalid imageUrl","originalRequest":{"method":"POST","header":[{"key":"key","value":"{{apiKey}}","description":"Your Revid API key (required). Found in your account settings.","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"name\": \"Sarah\",\n  \"description\": \"A friendly teacher who explains complex topics simply\",\n  \"imageUrl\": \"https://cdn.example.com/characters/sarah.png\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/api/public/v2/consistent-characters","description":"Create a new consistent character.\n\nThe character is saved as an avatar with a description, making it available both as a consistent character in stories/videos and as a talking avatar in video creation tools.\n\n### Request body\n| Field | Type | Required | Description |\n|---|---|---|---|\n| `name` | string | Yes | Character name (min 3 characters) |\n| `description` | string | Yes | Character description (min 10 characters). This is used by the AI to understand when and how to use this character. |\n| `imageUrl` | string | Yes | A valid URL pointing to the character image |\n\n### Validation rules\n- `name` must be at least 3 characters\n- `description` must be at least 10 characters\n- `imageUrl` must be a valid, well-formed URL"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 0,\n  \"error\": \"imageUrl must be a valid URL\"\n}"}],"_postman_id":"8ff48791-0e58-4b81-8132-5eea77dd4b22"},{"name":"Delete Consistent Character","id":"8b8c85ee-d8b5-433f-b953-9018725efbef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"key","value":"{{apiKey}}","description":"<p>Your Revid API key (required). Found in your account settings.</p>\n","type":"text"}],"url":"{{baseUrl}}/api/public/v2/consistent-characters?id=CHARACTER_ID_HERE","description":"<p>Delete a consistent character by its ID.</p>\n<p>The endpoint looks up the character in both the avatars collection and the LoRA collection, so it works for both types of characters.</p>\n<h3 id=\"parameters\">Parameters</h3>\n<p>The <code>id</code> can be passed either as:</p>\n<ul>\n<li>A <strong>query parameter</strong>: <code>?id=xxx</code></li>\n<li>Or in the <strong>request body</strong>: <code>{ \"id\": \"xxx\" }</code></li>\n</ul>\n<p>Get the character <code>id</code> from the GET endpoint response.</p>\n<h3 id=\"response-fields\">Response fields</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>success</code></td>\n<td>number</td>\n<td><code>1</code> on success, <code>0</code> on failure</td>\n</tr>\n<tr>\n<td><code>deleted</code></td>\n<td>string</td>\n<td>The ID of the deleted character</td>\n</tr>\n<tr>\n<td><code>source</code></td>\n<td>string</td>\n<td>Which collection it was deleted from — <code>avatar</code> or <code>lora</code></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]},"isInherited":true,"source":{"_postman_id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","id":"27722414-6ba7-4958-8e7a-e52b43a9beeb","name":"revid.ai - API V2","type":"collection"}},"urlObject":{"path":["api","public","v2","consistent-characters"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>The character ID to delete (get it from the GET response)</p>\n","type":"text/plain"},"key":"id","value":"CHARACTER_ID_HERE"}],"variable":[]}},"response":[{"id":"3a4b46c7-42b1-4ad8-9652-928a29d429cc","name":"200 - Deleted avatar character","originalRequest":{"method":"DELETE","header":[{"key":"key","value":"{{apiKey}}","description":"Your Revid API key (required). Found in your account settings.","type":"text"}],"url":{"raw":"{{baseUrl}}/api/public/v2/consistent-characters?id=CHARACTER_ID_HERE","host":["{{baseUrl}}"],"path":["api","public","v2","consistent-characters"],"query":[{"key":"id","value":"CHARACTER_ID_HERE","description":"The character ID to delete (get it from the GET response)"}]},"description":"Delete a consistent character by its ID.\n\nThe endpoint looks up the character in both the avatars collection and the LoRA collection, so it works for both types of characters.\n\n### Parameters\nThe `id` can be passed either as:\n- A **query parameter**: `?id=xxx`\n- Or in the **request body**: `{ \"id\": \"xxx\" }`\n\nGet the character `id` from the GET endpoint response.\n\n### Response fields\n| Field | Type | Description |\n|---|---|---|\n| `success` | number | `1` on success, `0` on failure |\n| `deleted` | string | The ID of the deleted character |\n| `source` | string | Which collection it was deleted from — `avatar` or `lora` |"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 1,\n  \"deleted\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n  \"source\": \"avatar\"\n}"},{"id":"40775c09-25e5-4fa2-9898-1249a6d61ec0","name":"200 - Deleted lora character","originalRequest":{"method":"DELETE","header":[{"key":"key","value":"{{apiKey}}","description":"Your Revid API key (required). Found in your account settings.","type":"text"}],"url":{"raw":"{{baseUrl}}/api/public/v2/consistent-characters?id=CHARACTER_ID_HERE","host":["{{baseUrl}}"],"path":["api","public","v2","consistent-characters"],"query":[{"key":"id","value":"CHARACTER_ID_HERE","description":"The character ID to delete (get it from the GET response)"}]},"description":"Delete a consistent character by its ID.\n\nThe endpoint looks up the character in both the avatars collection and the LoRA collection, so it works for both types of characters.\n\n### Parameters\nThe `id` can be passed either as:\n- A **query parameter**: `?id=xxx`\n- Or in the **request body**: `{ \"id\": \"xxx\" }`\n\nGet the character `id` from the GET endpoint response.\n\n### Response fields\n| Field | Type | Description |\n|---|---|---|\n| `success` | number | `1` on success, `0` on failure |\n| `deleted` | string | The ID of the deleted character |\n| `source` | string | Which collection it was deleted from — `avatar` or `lora` |"},"status":"OK","code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 1,\n  \"deleted\": \"b2c3d4e5-f6a7-8901-bcde-f12345678901\",\n  \"source\": \"lora\"\n}"},{"id":"f9edf9ee-fd06-4cf9-a049-0e63a5ea7240","name":"400 - Missing id","originalRequest":{"method":"DELETE","header":[{"key":"key","value":"{{apiKey}}","description":"Your Revid API key (required). Found in your account settings.","type":"text"}],"url":{"raw":"{{baseUrl}}/api/public/v2/consistent-characters?id=CHARACTER_ID_HERE","host":["{{baseUrl}}"],"path":["api","public","v2","consistent-characters"],"query":[{"key":"id","value":"CHARACTER_ID_HERE","description":"The character ID to delete (get it from the GET response)"}]},"description":"Delete a consistent character by its ID.\n\nThe endpoint looks up the character in both the avatars collection and the LoRA collection, so it works for both types of characters.\n\n### Parameters\nThe `id` can be passed either as:\n- A **query parameter**: `?id=xxx`\n- Or in the **request body**: `{ \"id\": \"xxx\" }`\n\nGet the character `id` from the GET endpoint response.\n\n### Response fields\n| Field | Type | Description |\n|---|---|---|\n| `success` | number | `1` on success, `0` on failure |\n| `deleted` | string | The ID of the deleted character |\n| `source` | string | Which collection it was deleted from — `avatar` or `lora` |"},"status":"Bad Request","code":400,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 0,\n  \"error\": \"id is required - pass it as a query parameter (?id=xxx) or in the request body\"\n}"},{"id":"55c695d4-9fdb-4665-9944-34ba5b50a34f","name":"404 - Character not found","originalRequest":{"method":"DELETE","header":[{"key":"key","value":"{{apiKey}}","description":"Your Revid API key (required). Found in your account settings.","type":"text"}],"url":{"raw":"{{baseUrl}}/api/public/v2/consistent-characters?id=CHARACTER_ID_HERE","host":["{{baseUrl}}"],"path":["api","public","v2","consistent-characters"],"query":[{"key":"id","value":"CHARACTER_ID_HERE","description":"The character ID to delete (get it from the GET response)"}]},"description":"Delete a consistent character by its ID.\n\nThe endpoint looks up the character in both the avatars collection and the LoRA collection, so it works for both types of characters.\n\n### Parameters\nThe `id` can be passed either as:\n- A **query parameter**: `?id=xxx`\n- Or in the **request body**: `{ \"id\": \"xxx\" }`\n\nGet the character `id` from the GET endpoint response.\n\n### Response fields\n| Field | Type | Description |\n|---|---|---|\n| `success` | number | `1` on success, `0` on failure |\n| `deleted` | string | The ID of the deleted character |\n| `source` | string | Which collection it was deleted from — `avatar` or `lora` |"},"status":"Not Found","code":404,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"success\": 0,\n  \"error\": \"Character not found\"\n}"}],"_postman_id":"8b8c85ee-d8b5-433f-b953-9018725efbef"}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"key"},{"key":"value","value":"{{key}}"}]}},"event":[{"listen":"prerequest","script":{"id":"67db822f-44f8-4421-8436-92d5e776eb25","type":"text/javascript","packages":{},"exec":[""]}},{"listen":"test","script":{"id":"0d961e0d-2342-4406-bece-1e6e3b52c06e","type":"text/javascript","packages":{},"exec":[""]}}]}