{"info":{"_postman_id":"edaf85fc-1225-4617-8840-11c70de8d735","name":"Vancine Seedance","description":"<html><head></head><body><p>Submit and poll Seedance video generation tasks through the Vancine API.</p>\n<p>Variables:</p>\n<ul>\n<li>base_url: API host (default <a href=\"https://vancine.com\">https://vancine.com</a>)</li>\n<li>api_key: bearer credential — set this after import (stays empty in this file)</li>\n<li>model: example model id</li>\n<li>task_id: populated automatically after a successful submit</li>\n</ul>\n<p>Submit first; the test script saves task_id into the collection variable.</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"56666133","collectionId":"edaf85fc-1225-4617-8840-11c70de8d735","publishedId":"2sBY4Mv2Nf","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"7C3AED"},"publishDate":"2026-07-16T03:11:20.000Z"},"item":[{"name":"Submit Seedance Video","event":[{"listen":"test","script":{"exec":["pm.test(\"submit returns HTTP 200\", function () {","  pm.response.to.have.status(200);","});","","// Persist the task id to the ENVIRONMENT scope (not just collection","// vars) so the value propagates to the poll request URL in every","// Postman runner, including Newman-driven automated runs.","const body = pm.response.json();","const taskId = body.task_id || body.id","  || (body.data && body.data.task_id)","  || (body.data && body.data.id);","pm.environment.set('task_id', taskId);","pm.collectionVariables.set('task_id', taskId);","","pm.test(\"submit body contains a task id\", function () {","  pm.expect(taskId).to.be.a('string').and.have.length.greaterThan(0);","});"],"type":"text/javascript","id":"71c5441e-5886-4df1-8805-9bed767c9fbf"}}],"id":"535246a0-a69e-40a3-8764-67029866bb7e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"model\": \"Doubao-Seedance-1.5-pro\",\n  \"prompt\": \"A timelapse of a flower blooming at sunrise\",\n  \"size\": \"1280x720\"\n}","options":{"raw":{"language":"json"}}},"url":"https://vancine.com/v1/video/generations","urlObject":{"path":["v1","video","generations"],"host":["https://vancine.com"],"query":[],"variable":[]}},"response":[{"id":"1c7ca3d2-434d-427c-8462-baeb0107adad","name":"Submit example (current shape)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"Bearer ","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n  \"model\": \"Doubao-Seedance-1.5-pro\",\n  \"prompt\": \"A timelapse of a flower blooming at sunrise\",\n  \"size\": \"1280x720\"\n}","options":{"raw":{"language":"json"}}},"url":"https://vancine.com/v1/video/generations"},"code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"task_id\": \"task_example000000000000000000\",\n  \"id\": \"task_example000000000000000000\",\n  \"object\": \"video\",\n  \"model\": \"Doubao-Seedance-1.5-pro\",\n  \"status\": \"queued\",\n  \"progress\": 0,\n  \"created_at\": 1781863047\n}"}],"_postman_id":"535246a0-a69e-40a3-8764-67029866bb7e"},{"name":"Get Video Task Status","event":[{"listen":"test","script":{"exec":["pm.test(\"poll returns HTTP 200\", function () {","  pm.response.to.have.status(200);","});","","pm.test(\"poll body exposes a status field\", function () {","  const body = pm.response.json();","  const status = body.status || (body.data && body.data.status);","  pm.expect(status).to.be.a('string').and.have.length.greaterThan(0);","});"],"type":"text/javascript","id":"85a6cab8-beef-4b8d-9757-2b39a602d081"}}],"id":"01bc7e24-b975-4194-9964-be4a64d61088","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://vancine.com/v1/video/generations/","urlObject":{"path":["v1","video","generations",""],"host":["https://vancine.com"],"query":[],"variable":[]}},"response":[{"id":"0aecf9ba-3de9-47bf-95ec-aede8821c24f","name":"Poll example (current shape)","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"Bearer ","type":"text"}],"url":"https://vancine.com/v1/video/generations/"},"code":200,"_postman_previewlanguage":"Text","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"task_id\": \"task_example000000000000000000\",\n  \"object\": \"video\",\n  \"model\": \"Doubao-Seedance-1.5-pro\",\n  \"status\": \"completed\",\n  \"progress\": 100,\n  \"metadata\": {\n    \"url\": \"https://example.com/generated-video.mp4\"\n  }\n}"}],"_postman_id":"01bc7e24-b975-4194-9964-be4a64d61088"}],"variable":[{"key":"base_url","value":"https://vancine.com"},{"key":"api_key","value":""},{"key":"model","value":"Doubao-Seedance-1.5-pro"},{"key":"task_id","value":""}]}