One POST queues the render. Poll the record or listen to the live status stream, then receive the MP4 and its full editable scene graph. Included from Plus up. An API call is quoted at 2x the in-app Credit rate. It draws on the same balance.
POST /v1/explainer
{
"input": "Explain how recurring billing works",
"length": "1:00", // optional, in 30-second steps up to "6:00"
"aspect": "16:9", // optional; 16:9 only for now
"voice": "sketchie:sulafat", // Nora, the default narrator
"language": "en"
} ການສ້າງເປັນແບບບໍ່ພ້ອມກັນ. API ຕອບກັບທັນທີດ້ວຍ 202 Accepted ແລະ record ທີ່ຢູ່ໃນຄິວ.
HTTP/1.1 202 Accepted
{
"id": "10f00eee-d2d6-4a1b-b708-f0391faaa85b",
"status": "queued",
"prompt": "Explain how recurring billing works",
"lengthSeconds": 60,
"voice": "sketchie:sulafat",
"language": "en",
"aspect": "16:9",
"videoUrl": null,
"sceneGraph": null
} ດຶງ GET /v1/explainer/:id ຈົນກ່ວາ record ເປັນ ready, ຫຼື ສະໝັກ GET /v1/explainer/events ສຳລັບການອັບເດດສະຖານະສົດ. record ທີ່ພ້ອມພາ URL ຂອງ MP4 ແລະ scene graph.
GET /v1/explainer/10f00eee-d2d6-4a1b-b708-f0391faaa85b
{
"id": "10f00eee-d2d6-4a1b-b708-f0391faaa85b",
"status": "ready",
"videoUrl": "https://media.sketchie.ai/....mp4",
"sceneGraph": { "scenes": [ ... ] }
} API ບໍ່ພຽງແຕ່ຍື່ນໄຟລ໌ໃຫ້ທ່ານ. ມັນຍື່ນເອກະສານໃຫ້ທ່ານ. ສົ່ງການແກ້ໄຂດ້ວຍພາສາທຳມະດາຜ່ານ endpoint ແກ້ໄຂທີ່ປ່ອຍແລ້ວ:
POST /v1/explainer/{id}/edit
{ "instruction": "Make the second scene shorter and warmer" } ສອງສາມວິນາທີຕໍ່ມາທ່ານມີວິດີໂອໃໝ່ທີ່ໜຶ່ງສາກປ່ຽນໄປ ແລະ ທຸກຢ່າງອື່ນບໍ່ຖືກແຕະຕ້ອງ. ເວີຊັນໃໝ່ຍັງຢູ່ໃນປະຫວັດຂອງອະທິບາຍດຽວກັນ, ດັ່ງນັ້ນທ່ານສາມາດກວດສອບ ຫຼື ຄືນຄ່າມັນຜ່ານ API.
Sketchie ໃຫ້ເຊີບເວີ MCP, ດັ່ງນັ້ນຕົວແທນໃດກໍໄດ້ທີ່ຮອງຮັບ MCP ສາມາດສ້າງ ແລະ ແກ້ໄຂວິດີໂອອະທິບາຍເປັນເຄື່ອງມື native: ສ້າງຈາກເອກະສານ, ກວດ scene graph, ຮ້ອງຂໍການແກ້ໄຂ, render ໃໝ່. ຖ້າທ່ານກຳລັງສ້າງຕົວແທນທີ່ຄວນຕອບດ້ວຍວິດີໂອແທນກຳແພງຂໍ້ຄວາມ, ນີ້ແມ່ນເສັ້ນທາງທີ່ສັ້ນທີ່ສຸດທີ່ມີ.
ເລືອກ Nora, Miles, Dean, Clara, Piper ຫຼື Wren ຈາກ GET /v1/voices. Nora ແມ່ນຜູ້ບັນຍາຍເລີ່ມຕົ້ນທີ່ອົບອຸ່ນ, ແລະ ທຸກສຽງໃນລາຍການສາມາດເວົ້າທຸກພາສາທີ່ຮອງຮັບ. ຕົວຢ່າງສຽງລວມຢູ່ໃນການຕອບກັບຂອງລາຍການ.