{"openapi":"3.0.3","components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key","description":"کلید خود را پایین وارد کنید (کلید زیر یک نمونه ساختگی است)"}},"schemas":{}},"security":[{"ApiKeyAuth":[]}],"tags":[{"name":"تولید محتوا","description":"ایجاد و مدیریت درخواست های تولید محتوا"},{"name":"مدیریت فایل ها","description":"آپلود، دانلود، حذف فایل ها و لیست کردن فایل ها"}],"info":{"title":"رادین API اسناد","description":"### 📚 انتخاب کتابخانه\n\n\n\nاز این لیست می‌توانید کتابخانه مورد استفاده خود را انتخاب کنید تا اسناد مربوطه ایجاد شوند.\n\n\n\n---\n\n\n\n### 🔑 احراز هویت (اختیاری)\n\n\n\nمی‌توانید کلید خود را برای احراز هویت وارد کنید.\n\n\n\n> کلید در هدر \n>`x-api-key`\n> قرار می‌گیرد.\n\n\n---\n\n## برای ارسال درخواست ها، از دامنه مد نظر استفاده کنید\n\nدامنه سرور داخلی:\nhttps://api.radinai.com\n\nدامنه سرور خارجی:\nhttps://api2.radinai.com\n\nنمونه لینک نهایی API endpoint:\nhttps://api.radinai.com/generate/create-video\n\nپلی گراند سرور خارجی:\nhttps://api2.radinai.com/docs\n","version":"1.0","contact":{"name":"پشتیبانی","url":"https://radinai.com/support"}},"externalDocs":{"url":"https://radinai.com/api-dashboard","description":"رادین API داشبورد"},"paths":{"/generation/list":{"get":{"tags":["تولید محتوا"],"description":"لیست کردن تولید محتوا ها","parameters":[{"name":"genTypes","in":"query","required":false,"schema":{"description":"An array of output types you want to list, if not selected, all types will be returned.","type":"array","items":{"default":"video","type":"string","enum":["video","audio","image","prompt"]}}},{"name":"offset","in":"query","required":true,"schema":{"minimum":0,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":0,"type":"number"}]}},{"name":"limit","in":"query","required":true,"schema":{"minimum":3,"maximum":24,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":3,"maximum":24,"type":"number"}]}}],"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"type":"object","properties":{"hasNextPage":{"type":"boolean"},"items":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"apiKeyId":{"type":"string"},"creditCost":{"type":"number"},"createdAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"completedAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"webhookUrl":{"type":"string"},"input":{"type":"object","properties":{"prompt":{"type":"string"},"model":{"type":"string","enum":["topaz-video","heygen","hailuo-2","hailuo-23","hailuo-h3","kling-25","kling-26","kling-3","kling-3-turbo","kling-motion","kling-motion-3","kling-lipsync","o1-elements","o1-frames","o1-transformation","o1-video-reference","o3-elements","o3-frames","o3-transformation","o3-video-reference","midjourney-sd","seedance-pro-fast","bytedance-upscale","seedance-2","seedance-2-mini","lip-sync","avatar-talk","seedance-2.5","grok-imagine-1.5","wan-3.0","topaz","normal-upscale","o1","o3","kling-element-gen","kontext","flux1.1-pro-ultra","seedream-4","seedream-45","gemini-2-5","gemini-3","nano-2","gpt-image","gpt-image-1.5","midjourney","crystal","gpt-image-2","seedream5-lite","elevenlabs-2","elevenlabs-3","suno-5.5"]},"type":{"type":"string","enum":["video","audio","image","prompt"]},"inputImageIds":{"type":"array","items":{"type":"string"}},"inputVideoIds":{"type":"array","items":{"type":"string"}},"inputAudioIds":{"type":"array","items":{"type":"string"}}},"required":["prompt","model","type","inputImageIds","inputVideoIds","inputAudioIds"],"additionalProperties":false},"status":{"type":"string","enum":["completed"]},"outputs":{"type":"array","items":{"type":"object","properties":{"private":{"type":"string","description":"Download link that requires an API key"},"publicTemporary":{"type":"string","description":"Temporary download link (valid for 10-30 minutes), does not require an API key"}},"required":["private","publicTemporary"],"additionalProperties":false}}},"required":["apiKeyId","creditCost","createdAt","input","status","outputs"],"additionalProperties":false,"title":"Completed","description":"The generation is complete and you can get the download links from the response"},{"type":"object","properties":{"apiKeyId":{"type":"string"},"creditCost":{"type":"number"},"createdAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"completedAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"webhookUrl":{"type":"string"},"input":{"type":"object","properties":{"prompt":{"type":"string"},"model":{"type":"string","enum":["topaz-video","heygen","hailuo-2","hailuo-23","hailuo-h3","kling-25","kling-26","kling-3","kling-3-turbo","kling-motion","kling-motion-3","kling-lipsync","o1-elements","o1-frames","o1-transformation","o1-video-reference","o3-elements","o3-frames","o3-transformation","o3-video-reference","midjourney-sd","seedance-pro-fast","bytedance-upscale","seedance-2","seedance-2-mini","lip-sync","avatar-talk","seedance-2.5","grok-imagine-1.5","wan-3.0","topaz","normal-upscale","o1","o3","kling-element-gen","kontext","flux1.1-pro-ultra","seedream-4","seedream-45","gemini-2-5","gemini-3","nano-2","gpt-image","gpt-image-1.5","midjourney","crystal","gpt-image-2","seedream5-lite","elevenlabs-2","elevenlabs-3","suno-5.5"]},"type":{"type":"string","enum":["video","audio","image","prompt"]},"inputImageIds":{"type":"array","items":{"type":"string"}},"inputVideoIds":{"type":"array","items":{"type":"string"}},"inputAudioIds":{"type":"array","items":{"type":"string"}}},"required":["prompt","model","type","inputImageIds","inputVideoIds","inputAudioIds"],"additionalProperties":false},"status":{"type":"string","enum":["failed"]},"errorMessage":{"type":"string"},"reason":{"type":"string"}},"required":["apiKeyId","creditCost","createdAt","input","status","errorMessage","reason"],"additionalProperties":false,"title":"Failed","description":"The generation failed, the reason is provided in the response."},{"type":"object","properties":{"apiKeyId":{"type":"string"},"creditCost":{"type":"number"},"createdAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"completedAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"webhookUrl":{"type":"string"},"input":{"type":"object","properties":{"prompt":{"type":"string"},"model":{"type":"string","enum":["topaz-video","heygen","hailuo-2","hailuo-23","hailuo-h3","kling-25","kling-26","kling-3","kling-3-turbo","kling-motion","kling-motion-3","kling-lipsync","o1-elements","o1-frames","o1-transformation","o1-video-reference","o3-elements","o3-frames","o3-transformation","o3-video-reference","midjourney-sd","seedance-pro-fast","bytedance-upscale","seedance-2","seedance-2-mini","lip-sync","avatar-talk","seedance-2.5","grok-imagine-1.5","wan-3.0","topaz","normal-upscale","o1","o3","kling-element-gen","kontext","flux1.1-pro-ultra","seedream-4","seedream-45","gemini-2-5","gemini-3","nano-2","gpt-image","gpt-image-1.5","midjourney","crystal","gpt-image-2","seedream5-lite","elevenlabs-2","elevenlabs-3","suno-5.5"]},"type":{"type":"string","enum":["video","audio","image","prompt"]},"inputImageIds":{"type":"array","items":{"type":"string"}},"inputVideoIds":{"type":"array","items":{"type":"string"}},"inputAudioIds":{"type":"array","items":{"type":"string"}}},"required":["prompt","model","type","inputImageIds","inputVideoIds","inputAudioIds"],"additionalProperties":false},"status":{"type":"string","enum":["processing"]}},"required":["apiKeyId","creditCost","createdAt","input","status"],"additionalProperties":false,"title":"Processing","description":"The generation is in progress and is not yet complete"}]}}},"required":["hasNextPage","items"],"additionalProperties":false}}}},"400":{"description":"Response for status 400","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"401":{"description":"Response for status 401","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"403":{"description":"Response for status 403","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"500":{"description":"Response for status 500","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}}},"operationId":"getGenerationList"}},"/generation/{id}":{"get":{"tags":["تولید محتوا"],"description":"دریافت وضعیت و اطلاعات یک درخواست تولید محتوا","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"apiKeyId":{"type":"string"},"creditCost":{"type":"number"},"createdAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"completedAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"webhookUrl":{"type":"string"},"input":{"type":"object","properties":{"prompt":{"type":"string"},"model":{"type":"string","enum":["topaz-video","heygen","hailuo-2","hailuo-23","hailuo-h3","kling-25","kling-26","kling-3","kling-3-turbo","kling-motion","kling-motion-3","kling-lipsync","o1-elements","o1-frames","o1-transformation","o1-video-reference","o3-elements","o3-frames","o3-transformation","o3-video-reference","midjourney-sd","seedance-pro-fast","bytedance-upscale","seedance-2","seedance-2-mini","lip-sync","avatar-talk","seedance-2.5","grok-imagine-1.5","wan-3.0","topaz","normal-upscale","o1","o3","kling-element-gen","kontext","flux1.1-pro-ultra","seedream-4","seedream-45","gemini-2-5","gemini-3","nano-2","gpt-image","gpt-image-1.5","midjourney","crystal","gpt-image-2","seedream5-lite","elevenlabs-2","elevenlabs-3","suno-5.5"]},"type":{"type":"string","enum":["video","audio","image","prompt"]},"inputImageIds":{"type":"array","items":{"type":"string"}},"inputVideoIds":{"type":"array","items":{"type":"string"}},"inputAudioIds":{"type":"array","items":{"type":"string"}}},"required":["prompt","model","type","inputImageIds","inputVideoIds","inputAudioIds"],"additionalProperties":false},"status":{"type":"string","enum":["completed"]},"outputs":{"type":"array","items":{"type":"object","properties":{"private":{"type":"string","description":"Download link that requires an API key"},"publicTemporary":{"type":"string","description":"Temporary download link (valid for 10-30 minutes), does not require an API key"}},"required":["private","publicTemporary"],"additionalProperties":false}}},"required":["apiKeyId","creditCost","createdAt","input","status","outputs"],"additionalProperties":false,"title":"Completed","description":"The generation is complete and you can get the download links from the response"},{"type":"object","properties":{"apiKeyId":{"type":"string"},"creditCost":{"type":"number"},"createdAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"completedAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"webhookUrl":{"type":"string"},"input":{"type":"object","properties":{"prompt":{"type":"string"},"model":{"type":"string","enum":["topaz-video","heygen","hailuo-2","hailuo-23","hailuo-h3","kling-25","kling-26","kling-3","kling-3-turbo","kling-motion","kling-motion-3","kling-lipsync","o1-elements","o1-frames","o1-transformation","o1-video-reference","o3-elements","o3-frames","o3-transformation","o3-video-reference","midjourney-sd","seedance-pro-fast","bytedance-upscale","seedance-2","seedance-2-mini","lip-sync","avatar-talk","seedance-2.5","grok-imagine-1.5","wan-3.0","topaz","normal-upscale","o1","o3","kling-element-gen","kontext","flux1.1-pro-ultra","seedream-4","seedream-45","gemini-2-5","gemini-3","nano-2","gpt-image","gpt-image-1.5","midjourney","crystal","gpt-image-2","seedream5-lite","elevenlabs-2","elevenlabs-3","suno-5.5"]},"type":{"type":"string","enum":["video","audio","image","prompt"]},"inputImageIds":{"type":"array","items":{"type":"string"}},"inputVideoIds":{"type":"array","items":{"type":"string"}},"inputAudioIds":{"type":"array","items":{"type":"string"}}},"required":["prompt","model","type","inputImageIds","inputVideoIds","inputAudioIds"],"additionalProperties":false},"status":{"type":"string","enum":["failed"]},"errorMessage":{"type":"string"},"reason":{"type":"string"}},"required":["apiKeyId","creditCost","createdAt","input","status","errorMessage","reason"],"additionalProperties":false,"title":"Failed","description":"The generation failed, the reason is provided in the response."},{"type":"object","properties":{"apiKeyId":{"type":"string"},"creditCost":{"type":"number"},"createdAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"completedAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"},"webhookUrl":{"type":"string"},"input":{"type":"object","properties":{"prompt":{"type":"string"},"model":{"type":"string","enum":["topaz-video","heygen","hailuo-2","hailuo-23","hailuo-h3","kling-25","kling-26","kling-3","kling-3-turbo","kling-motion","kling-motion-3","kling-lipsync","o1-elements","o1-frames","o1-transformation","o1-video-reference","o3-elements","o3-frames","o3-transformation","o3-video-reference","midjourney-sd","seedance-pro-fast","bytedance-upscale","seedance-2","seedance-2-mini","lip-sync","avatar-talk","seedance-2.5","grok-imagine-1.5","wan-3.0","topaz","normal-upscale","o1","o3","kling-element-gen","kontext","flux1.1-pro-ultra","seedream-4","seedream-45","gemini-2-5","gemini-3","nano-2","gpt-image","gpt-image-1.5","midjourney","crystal","gpt-image-2","seedream5-lite","elevenlabs-2","elevenlabs-3","suno-5.5"]},"type":{"type":"string","enum":["video","audio","image","prompt"]},"inputImageIds":{"type":"array","items":{"type":"string"}},"inputVideoIds":{"type":"array","items":{"type":"string"}},"inputAudioIds":{"type":"array","items":{"type":"string"}}},"required":["prompt","model","type","inputImageIds","inputVideoIds","inputAudioIds"],"additionalProperties":false},"status":{"type":"string","enum":["processing"]}},"required":["apiKeyId","creditCost","createdAt","input","status"],"additionalProperties":false,"title":"Processing","description":"The generation is in progress and is not yet complete"}]}}}},"400":{"description":"Response for status 400","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"401":{"description":"Response for status 401","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"403":{"description":"Response for status 403","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"500":{"description":"Response for status 500","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}}},"operationId":"getGenerationById"}},"/generation/delete":{"delete":{"tags":["تولید محتوا"],"description":"حذف یک تولید محتوا","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"deleteFields":{"type":"array","items":{"type":"string","enum":["inputFiles","prompt"]},"description":"مواردی که میخواهید علاوه بر محتوای خروجی حذف شوند","example":["prompt"]},"genId":{"type":"string","example":"<generation-id>"}},"required":["deleteFields","genId"],"additionalProperties":false}}},"required":true},"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"400":{"description":"Response for status 400","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"401":{"description":"Response for status 401","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"403":{"description":"Response for status 403","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"500":{"description":"Response for status 500","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}}},"operationId":"deleteGenerationDelete"}},"/generation/create-video":{"post":{"tags":["تولید محتوا"],"description":"ایجاد درخواست تولید ویدیو","parameters":[{"name":"webhookUrl","in":"query","required":false,"schema":{"type":"string","description":"Your Webhook URL, if specified, the result of the generation will be POSTed to this URL."}},{"name":"demoMode","in":"query","required":false,"schema":{"description":"This parameter is used when the api key mode is 'development', default value is 'success'.\n        \nwhen set to 'failure', the dummy generation will be 'failed' after a few seconds, if set to 'success', the dummy generation will be 'completed' after a few seconds.","type":"string","enum":["failure","success"]}}],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"model":{"type":"string","enum":["seedance-2.5"],"description":"اسم مدل"},"prompt":{"type":"string","minLength":0,"maxLength":5000,"example":"<your-prompt>"},"duration":{"type":"string","enum":["4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"]},"quality":{"type":"string","enum":["480","720","1080","4K"]},"videos":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"audios":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"images":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"aspectRatio":{"type":"string","enum":["21:9","16:9","4:3","1:1","3:4","9:16"]},"version":{"type":"string","enum":["image-2-video","omni"]}},"required":["model","prompt","duration","quality","version"],"additionalProperties":false,"title":"سیدنس 2.5"},{"type":"object","properties":{"model":{"type":"string","enum":["wan-3.0"],"description":"اسم مدل"},"prompt":{"type":"string","minLength":0,"maxLength":20000,"example":"<your-prompt>"},"duration":{"type":"string","enum":["2","3","4","5","6","7","8","9","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","25","26","27","28","29","30"]},"images":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"videos":{"maxItems":5,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"audios":{"maxItems":5,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"aspectRatio":{"type":"string","enum":["16:9","4:3","1:1","3:4","9:16"]},"quality":{"type":"string","enum":["480","720","1080"]},"version":{"type":"string","enum":["omni","image-2-video"]},"thinking":{"type":"boolean"},"promptExpand":{"type":"boolean"}},"required":["model","prompt","duration","quality","version","thinking","promptExpand"],"additionalProperties":false},{"type":"object","properties":{"model":{"type":"string","enum":["hailuo-h3"],"description":"اسم مدل"},"prompt":{"type":"string","minLength":0,"maxLength":7000,"example":"<your-prompt>"},"duration":{"type":"string","enum":["4","5","6","7","8","9","10","11","12","13","14","15"]},"images":{"maxItems":9,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"videos":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"audios":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"aspectRatio":{"type":"string","enum":["21:9","16:9","4:3","1:1","3:4","9:16"]},"quality":{"type":"string","enum":["768","2k"]},"version":{"type":"string","enum":["omni","image-2-video"]}},"required":["model","prompt","duration","quality","version"],"additionalProperties":false},{"type":"object","properties":{"model":{"type":"string","enum":["seedance-2"],"description":"اسم مدل"},"prompt":{"type":"string","minLength":0,"maxLength":5000,"example":"<your-prompt>"},"duration":{"type":"string","enum":["4","5","6","7","8","9","10","11","12","13","14","15"]},"videos":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"audios":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"images":{"maxItems":9,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"aspectRatio":{"type":"string","enum":["21:9","16:9","4:3","1:1","3:4","9:16"]},"version":{"type":"string","enum":["normal-omni"]},"quality":{"type":"string","enum":["480","720","1080","4K"]}},"required":["model","prompt","duration","aspectRatio","version","quality"],"additionalProperties":false,"title":"سیدنس 2 (اومنی)"},{"type":"object","properties":{"model":{"type":"string","enum":["seedance-2"],"description":"اسم مدل"},"prompt":{"type":"string","minLength":0,"maxLength":5000,"example":"<your-prompt>"},"duration":{"type":"string","enum":["4","5","6","7","8","9","10","11","12","13","14","15"]},"videos":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"audios":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"images":{"maxItems":9,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"aspectRatio":{"type":"string","enum":["21:9","16:9","4:3","1:1","3:4","9:16"]},"version":{"type":"string","enum":["fast-omni"]},"quality":{"type":"string","enum":["480","720"]}},"required":["model","prompt","duration","aspectRatio","version","quality"],"additionalProperties":false,"title":"سیدنس 2 (اومنی فست)"},{"type":"object","properties":{"model":{"type":"string","enum":["seedance-2-mini"],"description":"اسم مدل"},"prompt":{"type":"string","minLength":0,"maxLength":5000,"example":"<your-prompt>"},"duration":{"type":"string","enum":["4","5","6","7","8","9","10","11","12","13","14","15"]},"quality":{"type":"string","enum":["480","720"]},"videos":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"audios":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"images":{"maxItems":9,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"aspectRatio":{"type":"string","enum":["21:9","16:9","4:3","1:1","3:4","9:16"]},"version":{"type":"string","enum":["image-2-video","omni"]}},"required":["model","prompt","duration","quality","version"],"additionalProperties":false,"title":"سیدنس 2 مینی"},{"type":"object","properties":{"prompt":{"type":"string","minLength":0,"maxLength":1500,"example":"<your-prompt>"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"orientation":{"type":"string","enum":["video","image"]},"model":{"type":"string","enum":["kling-motion-3"],"description":"اسم مدل"},"quality":{"type":"string","enum":["720","1080"]},"genElements":{"maxItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["image"]},"tag":{"type":"string","enum":["character","animal","prop","costume","scene","effect","others"]},"images":{"minItems":2,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"voices":{"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.A video file of the character's voice for cloning the voice (optional)","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"}},"name":{"type":"string","minLength":5,"maxLength":10}},"required":["type","tag","images","name"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["video"]},"tag":{"type":"string","enum":["character","animal","prop","costume","scene","effect","others"]},"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"voices":{"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.A video file of the character's voice for cloning the voice (optional)","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"}},"name":{"type":"string","minLength":5,"maxLength":10}},"required":["type","tag","videos","name"],"additionalProperties":false,"description":"المنت ویدیویی، فقط می تواند از نوع کاراکتر باشد","title":"المنت از نوع ویدیو"},{"type":"object","properties":{"type":{"type":"string","enum":["prebuilt"]},"id":{"type":"string","example":"غیر مجاز - این قابلیت در API پشتیبانی نمی شود"}},"required":["type","id"],"additionalProperties":false,"title":"المنت از قبل ساخته شده: این قابلیت در API پشتیبانی نمی شود.","description":"غیر مجاز - این قابلیت در API پشتیبانی نمی شود"}],"title":"المنت کلینگ"}}},"required":["prompt","images","videos","orientation","model","quality"],"additionalProperties":false,"title":"کلینگ موشن ۳"},{"type":"object","properties":{"prompt":{"type":"string","minLength":0,"maxLength":1500,"example":"<your-prompt>"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"orientation":{"type":"string","enum":["video","image"]},"model":{"type":"string","enum":["kling-motion"],"description":"اسم مدل"},"quality":{"type":"string","enum":["720","1080"]}},"required":["prompt","images","videos","orientation","model","quality"],"additionalProperties":false,"title":"کلینگ موشن"},{"type":"object","properties":{"model":{"type":"string","enum":["kling-3"],"description":"اسم مدل"},"enableAudio":{"type":"boolean"},"genElements":{"maxItems":3,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["image"]},"tag":{"type":"string","enum":["character","animal","prop","costume","scene","effect","others"]},"images":{"minItems":2,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"voices":{"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.A video file of the character's voice for cloning the voice (optional)","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"}},"name":{"type":"string","minLength":5,"maxLength":10}},"required":["type","tag","images","name"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["video"]},"tag":{"type":"string","enum":["character","animal","prop","costume","scene","effect","others"]},"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"voices":{"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.A video file of the character's voice for cloning the voice (optional)","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"}},"name":{"type":"string","minLength":5,"maxLength":10}},"required":["type","tag","videos","name"],"additionalProperties":false,"description":"المنت ویدیویی، فقط می تواند از نوع کاراکتر باشد","title":"المنت از نوع ویدیو"},{"type":"object","properties":{"type":{"type":"string","enum":["prebuilt"]},"id":{"type":"string","example":"غیر مجاز - این قابلیت در API پشتیبانی نمی شود"}},"required":["type","id"],"additionalProperties":false,"title":"المنت از قبل ساخته شده: این قابلیت در API پشتیبانی نمی شود.","description":"غیر مجاز - این قابلیت در API پشتیبانی نمی شود"}],"title":"المنت کلینگ"}},"aspectRatio":{"description":"اگر تصویر ورودی وجود نداشته باشد، انتخاب نسبت ابعاد خروجی الزامی است","type":"string","enum":["1:1","16:9","9:16"]},"duration":{"type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"prompt":{"type":"string","minLength":10,"maxLength":2500,"example":"<your-prompt>"},"multiShot":{"type":"string","enum":["off","auto","manual"]},"shots":{"minItems":0,"maxItems":5,"type":"array","items":{"type":"object","properties":{"text":{"type":"string","minLength":10,"maxLength":2500},"duration":{"type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]}},"required":["text","duration"],"additionalProperties":false}},"images":{"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - اگر آرایه خالی ارسال شود، متن به ویدیو خواهد بود، آرایه با یک تصویر، به عنوان تصویر شروع استفاده می شود، در آرایه با 2 تصویر، تصویر اول تصویر شروع، و تصویر دوم تصویر پایان خواهد بود.","maxItems":2,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"}},"quality":{"type":"string","enum":["720","1080","4K"]}},"required":["model","enableAudio","duration","prompt","multiShot","quality"],"additionalProperties":false,"title":"کلینگ ۳"},{"type":"object","properties":{"model":{"type":"string","enum":["kling-3-turbo"],"description":"اسم مدل"},"duration":{"type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"prompt":{"type":"string","minLength":10,"maxLength":2500,"example":"<your-prompt>"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است، به عنوان تصویر شروع استفاده خواهد شد"},"quality":{"type":"string","enum":["720","1080"]}},"required":["model","duration","prompt","images","quality"],"additionalProperties":false,"title":"کلینگ ۳ توربو"},{"type":"object","properties":{"prompt":{"type":"string","minLength":0,"maxLength":1600,"example":"<your-prompt>"},"quality":{"type":"string","enum":["720","1080","4k"]},"model":{"type":"string","enum":["o3-elements"],"description":"اسم مدل"},"duration":{"type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"aspectRatio":{"type":"string","enum":["1:1","16:9","9:16"]},"images":{"maxItems":7,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"genElements":{"maxItems":7,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["image"]},"tag":{"type":"string","enum":["character","animal","prop","costume","scene","effect","others"]},"images":{"minItems":2,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"voices":{"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.A video file of the character's voice for cloning the voice (optional)","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"}},"name":{"type":"string","minLength":5,"maxLength":10}},"required":["type","tag","images","name"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["video"]},"tag":{"type":"string","enum":["character","animal","prop","costume","scene","effect","others"]},"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"voices":{"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.A video file of the character's voice for cloning the voice (optional)","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"}},"name":{"type":"string","minLength":5,"maxLength":10}},"required":["type","tag","videos","name"],"additionalProperties":false,"description":"المنت ویدیویی، فقط می تواند از نوع کاراکتر باشد","title":"المنت از نوع ویدیو"},{"type":"object","properties":{"type":{"type":"string","enum":["prebuilt"]},"id":{"type":"string","example":"غیر مجاز - این قابلیت در API پشتیبانی نمی شود"}},"required":["type","id"],"additionalProperties":false,"title":"المنت از قبل ساخته شده: این قابلیت در API پشتیبانی نمی شود.","description":"غیر مجاز - این قابلیت در API پشتیبانی نمی شود"}],"title":"المنت کلینگ"}},"enableAudio":{"type":"boolean"}},"required":["prompt","quality","model","duration","aspectRatio","enableAudio"],"additionalProperties":false,"title":"کلینگ o3 المنتز","description":"انتخاب حداقل یک تصویر یا المنت الزامی است، مجموع تصاویر و المنت ها باید کمتر مساوی 7 باشد"},{"type":"object","properties":{"prompt":{"type":"string","minLength":0,"maxLength":1600,"example":"<your-prompt>"},"quality":{"type":"string","enum":["720","1080","4k"]},"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"images":{"maxItems":4,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"genElements":{"maxItems":4,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["image"]},"tag":{"type":"string","enum":["character","animal","prop","costume","scene","effect","others"]},"images":{"minItems":2,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"voices":{"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.A video file of the character's voice for cloning the voice (optional)","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"}},"name":{"type":"string","minLength":5,"maxLength":10}},"required":["type","tag","images","name"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["video"]},"tag":{"type":"string","enum":["character","animal","prop","costume","scene","effect","others"]},"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"voices":{"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.A video file of the character's voice for cloning the voice (optional)","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"}},"name":{"type":"string","minLength":5,"maxLength":10}},"required":["type","tag","videos","name"],"additionalProperties":false,"description":"المنت ویدیویی، فقط می تواند از نوع کاراکتر باشد","title":"المنت از نوع ویدیو"},{"type":"object","properties":{"type":{"type":"string","enum":["prebuilt"]},"id":{"type":"string","example":"غیر مجاز - این قابلیت در API پشتیبانی نمی شود"}},"required":["type","id"],"additionalProperties":false,"title":"المنت از قبل ساخته شده: این قابلیت در API پشتیبانی نمی شود.","description":"غیر مجاز - این قابلیت در API پشتیبانی نمی شود"}],"title":"المنت کلینگ"}},"aspectRatio":{"type":"string","enum":["1:1","16:9","9:16"]},"model":{"type":"string","enum":["o3-video-reference"],"description":"اسم مدل"}},"required":["prompt","quality","videos","aspectRatio","model"],"additionalProperties":false,"title":"کلینگ o3 video reference","description":"مجموع تعداد تصاویر و المنت ها باید کمتر مساوی 4 باشد، می توانید کلا تصویر یا المنتی انتخاب نکنید"},{"type":"object","properties":{"prompt":{"type":"string","minLength":0,"maxLength":1600,"example":"<your-prompt>"},"quality":{"type":"string","enum":["720","1080","4k"]},"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"images":{"maxItems":4,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"genElements":{"maxItems":4,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["image"]},"tag":{"type":"string","enum":["character","animal","prop","costume","scene","effect","others"]},"images":{"minItems":2,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"voices":{"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.A video file of the character's voice for cloning the voice (optional)","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"}},"name":{"type":"string","minLength":5,"maxLength":10}},"required":["type","tag","images","name"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["video"]},"tag":{"type":"string","enum":["character","animal","prop","costume","scene","effect","others"]},"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"voices":{"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint.A video file of the character's voice for cloning the voice (optional)","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"}},"name":{"type":"string","minLength":5,"maxLength":10}},"required":["type","tag","videos","name"],"additionalProperties":false,"description":"المنت ویدیویی، فقط می تواند از نوع کاراکتر باشد","title":"المنت از نوع ویدیو"},{"type":"object","properties":{"type":{"type":"string","enum":["prebuilt"]},"id":{"type":"string","example":"غیر مجاز - این قابلیت در API پشتیبانی نمی شود"}},"required":["type","id"],"additionalProperties":false,"title":"المنت از قبل ساخته شده: این قابلیت در API پشتیبانی نمی شود.","description":"غیر مجاز - این قابلیت در API پشتیبانی نمی شود"}],"title":"المنت کلینگ"}},"aspectRatio":{"type":"string","enum":["1:1","16:9","9:16"]},"model":{"type":"string","enum":["o3-transformation"],"description":"اسم مدل"}},"required":["prompt","quality","videos","aspectRatio","model"],"additionalProperties":false,"title":"کلینگ o3 video transformation","description":"مجموع تعداد تصاویر و المنت ها باید کمتر مساوی 4 باشد، می توانید کلا تصویر یا المنتی انتخاب نکنید"},{"type":"object","properties":{"prompt":{"type":"string","minLength":0,"maxLength":1600,"example":"<your-prompt>"},"quality":{"type":"string","enum":["720","1080","4k"]},"model":{"type":"string","enum":["o3-frames"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - آرایه با 1 یا 2 تصویر، تصویر اول تصویر شروع، و تصویر دوم تصویر پایان خواهد بود، وارد کردن تصویر پایان الزامی نیست"},"duration":{"type":"string","enum":["3","4","5","6","7","8","9","10","11","12","13","14","15"]},"enableAudio":{"type":"boolean"}},"required":["prompt","quality","model","images","duration","enableAudio"],"additionalProperties":false,"title":"کلینگ o3 (عکس به ویدیو)"},{"type":"object","properties":{"duration":{"type":"string","enum":["5","10"]},"prompt":{"type":"string","minLength":10,"maxLength":2500,"example":"<your-prompt>"},"model":{"type":"string","enum":["kling-26"],"description":"اسم مدل"},"images":{"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - اگر آرایه خالی ارسال شود، متن به ویدیو خواهد بود، آرایه با یک تصویر، به عنوان تصویر شروع استفاده می شود، در آرایه با 2 تصویر، تصویر اول تصویر شروع، و تصویر دوم تصویر پایان خواهد بود.","maxItems":2,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"}},"quality":{"type":"string","enum":["1080"]},"enableAudio":{"type":"boolean"},"aspectRatio":{"description":"اگر تصویر ورودی وجود نداشته باشد، انتخاب نسبت ابعاد خروجی الزامی است","type":"string","enum":["1:1","16:9","9:16"]}},"required":["duration","prompt","model","quality","enableAudio"],"additionalProperties":false,"title":"کلینگ ۲.۶ کیفیت 1080"},{"type":"object","properties":{"duration":{"type":"string","enum":["5","10"]},"prompt":{"type":"string","minLength":10,"maxLength":2500,"example":"<your-prompt>"},"model":{"type":"string","enum":["kling-26"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است، به عنوان تصویر شروع استفاده خواهد شد"},"quality":{"type":"string","enum":["720"]}},"required":["duration","prompt","model","images","quality"],"additionalProperties":false,"title":"کلینگ ۲.۶ کیفیت 720"},{"type":"object","properties":{"duration":{"type":"string","enum":["5","10"]},"prompt":{"type":"string","minLength":10,"maxLength":2500,"example":"<your-prompt>"},"model":{"type":"string","enum":["kling-25"],"description":"اسم مدل"},"images":{"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - اگر آرایه خالی ارسال شود، متن به ویدیو خواهد بود، آرایه با یک تصویر، به عنوان تصویر شروع استفاده می شود، در آرایه با 2 تصویر، تصویر اول تصویر شروع، و تصویر دوم تصویر پایان خواهد بود. - کیفیت 720 دقیقا یک تصویر ورودی می گیرد","maxItems":2,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"}},"quality":{"type":"string","enum":["720","1080"]},"aspectRatio":{"description":"اگر تصویر ورودی وجود نداشته باشد، انتخاب نسبت ابعاد خروجی الزامی است","type":"string","enum":["1:1","16:9","9:16"]}},"required":["duration","prompt","model","quality"],"additionalProperties":false,"title":"کلینگ ۲.۵"},{"type":"object","properties":{"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"quality":{"type":"string","enum":["1080","2k","4k"]},"fps":{"type":"string","enum":["30","60"]},"model":{"type":"string","enum":["bytedance-upscale"],"description":"اسم مدل"}},"required":["videos","quality","fps","model"],"additionalProperties":false,"title":"افزایش کیفیت بایت دنس"},{"type":"object","properties":{"model":{"type":"string","enum":["hailuo-2"],"description":"اسم مدل"},"optimizer":{"type":"boolean"},"prompt":{"type":"string","minLength":10,"maxLength":2000,"example":"<your-prompt>"},"quality":{"type":"string","enum":["1080"]},"images":{"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - اگر آرایه خالی ارسال شود، متن به ویدیو خواهد بود، آرایه با یک تصویر، به عنوان تصویر شروع استفاده می شود، در آرایه با 2 تصویر، تصویر اول تصویر شروع، و تصویر دوم تصویر پایان خواهد بود.","maxItems":2,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"}},"duration":{"type":"string","enum":["6"]}},"required":["model","optimizer","prompt","quality","duration"],"additionalProperties":false,"title":"هایلو ۲.۰ کیفیت 1080"},{"type":"object","properties":{"model":{"type":"string","enum":["hailuo-2"],"description":"اسم مدل"},"optimizer":{"type":"boolean"},"prompt":{"type":"string","minLength":10,"maxLength":2000,"example":"<your-prompt>"},"quality":{"type":"string","enum":["512"]},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است، به عنوان تصویر شروع استفاده خواهد شد"},"duration":{"type":"string","enum":["6","10"]}},"required":["model","optimizer","prompt","quality","images","duration"],"additionalProperties":false,"title":"هایلو ۲.۰ کیفیت 512"},{"type":"object","properties":{"model":{"type":"string","enum":["hailuo-2"],"description":"اسم مدل"},"optimizer":{"type":"boolean"},"prompt":{"type":"string","minLength":10,"maxLength":2000,"example":"<your-prompt>"},"quality":{"type":"string","enum":["768"]},"images":{"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - اگر آرایه خالی ارسال شود، متن به ویدیو خواهد بود، آرایه با یک تصویر، به عنوان تصویر شروع استفاده می شود، در آرایه با 2 تصویر، تصویر اول تصویر شروع، و تصویر دوم تصویر پایان خواهد بود.","maxItems":2,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"}},"duration":{"type":"string","enum":["6","10"]}},"required":["model","optimizer","prompt","quality","duration"],"additionalProperties":false,"title":"هایلو ۲.۰ کیفیت 768"},{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":2000,"example":"<your-prompt>"},"model":{"type":"string","enum":["hailuo-23"],"description":"اسم مدل"},"optimizer":{"type":"boolean"},"duration":{"type":"string","enum":["6","10"]},"images":{"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - اگر تصویری داده نشود، متن به ویدیو خواهد بود، اگر 1 تصویر داده شود، به عنوان تصویر شروع استفاده خواهد شد","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"}},"mode":{"type":"string","enum":["fast","normal"]},"quality":{"type":"string","enum":["768"]}},"required":["prompt","model","optimizer","duration","mode","quality"],"additionalProperties":false,"title":"هایلو ۲.۳ کیفیت 768"},{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":2000,"example":"<your-prompt>"},"model":{"type":"string","enum":["hailuo-23"],"description":"اسم مدل"},"optimizer":{"type":"boolean"},"duration":{"type":"string","enum":["6"]},"images":{"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - اگر تصویری داده نشود، متن به ویدیو خواهد بود، اگر 1 تصویر داده شود، به عنوان تصویر شروع استفاده خواهد شد","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"}},"mode":{"type":"string","enum":["fast","normal"]},"quality":{"type":"string","enum":["1080"]}},"required":["prompt","model","optimizer","duration","mode","quality"],"additionalProperties":false,"title":"هایلو ۲.۳ کیفیت 1080"},{"type":"object","properties":{"model":{"type":"string","enum":["avatar-talk"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"audios":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ صدا الزامی است"},"prompt":{"type":"string","minLength":0,"maxLength":1000,"example":"<your-prompt>"},"mask":{"description":"تصویری از نوع base64 - یک ماسکی روی تصویر برای انتخاب کاراکتر فعال زمانی که بیش از یک کاراکتر در تصویر وجود دارند، تمام تصویر باید مشکی باشد و ناحیه انتخاب شده سفید","type":"string"},"quality":{"type":"string","enum":["480","720"]}},"required":["model","images","audios","quality"],"additionalProperties":false,"title":"آواتار تاک"},{"type":"object","properties":{"model":{"type":"string","enum":["lip-sync"],"description":"اسم مدل"},"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"audios":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ صدا الزامی است"},"version":{"type":"string","enum":["normal","premium"]}},"required":["model","videos","audios","version"],"additionalProperties":false,"title":"لیپ سینک ویدیو به ویدیو"},{"type":"object","properties":{"model":{"type":"string","enum":["kling-lipsync"],"description":"اسم مدل"},"videos":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"video download URL - or file name obtained from /upload endpoint"},"description":"An array of video names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ ویدیو الزامی است"},"audios":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ صدا الزامی است"}},"required":["model","videos","audios"],"additionalProperties":false,"title":"کلینگ لیپ سینک"},{"type":"object","properties":{"fixedCamera":{"type":"boolean"},"duration":{"type":"string","enum":["3","4","5","6","7","8","9","10","11","12"]},"prompt":{"type":"string","minLength":10,"maxLength":2000,"example":"<your-prompt>"},"quality":{"type":"string","enum":["480","720","1080"]},"images":{"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - اگر تصویری داده نشود، متن به ویدیو خواهد بود، اگر 1 تصویر داده شود، به عنوان تصویر شروع استفاده خواهد شد","maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"}},"model":{"type":"string","enum":["seedance-pro-fast"],"description":"اسم مدل"},"aspectRatio":{"type":"string","enum":["21:9","16:9","4:3","1:1","3:4","9:16"]}},"required":["fixedCamera","duration","prompt","quality","model"],"additionalProperties":false,"title":"سیدنس pro fast"},{"type":"object","properties":{"model":{"type":"string","enum":["heygen"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"audios":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - انتخاب دقیقا ۱ صدا الزامی است"},"prompt":{"type":"string","minLength":0,"maxLength":1000,"example":"<your-prompt>"},"style":{"type":"string","enum":["expressive","stable"]},"aspectRatio":{"type":"string","enum":["16:9","9:16","1:1"]}},"required":["model","images","audios","style","aspectRatio"],"additionalProperties":false,"title":"آواتار IV هیجن"}],"title":"درخواست تولید ویدیو"}}},"required":true},"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"type":"object","required":["genId"],"properties":{"genId":{"type":"string"}}}}}},"400":{"description":"Response for status 400","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"401":{"description":"Response for status 401","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"403":{"description":"Response for status 403","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"500":{"description":"Response for status 500","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}}},"operationId":"postGenerationCreate-video"}},"/generation/create-image":{"post":{"tags":["تولید محتوا"],"description":"ایجاد درخواست تولید تصویر","parameters":[{"name":"webhookUrl","in":"query","required":false,"schema":{"type":"string","description":"Your Webhook URL, if specified, the result of the generation will be POSTed to this URL."}},{"name":"demoMode","in":"query","required":false,"schema":{"description":"This parameter is used when the api key mode is 'development', default value is 'success'.\n        \nwhen set to 'failure', the dummy generation will be 'failed' after a few seconds, if set to 'success', the dummy generation will be 'completed' after a few seconds.","type":"string","enum":["failure","success"]}}],"requestBody":{"content":{"application/json":{"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","oneOf":[{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":5000,"example":"<your-prompt>"},"quality":{"type":"string","enum":["2K","4K"]},"model":{"type":"string","enum":["gemini-3"],"description":"اسم مدل"},"images":{"maxItems":14,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"aspectRatio":{"type":"string","enum":["auto","21:9","1:1","4:3","3:2","2:3","5:4","4:5","3:4","16:9","9:16"]},"pngMode":{"default":false,"type":"boolean"}},"required":["prompt","quality","model","aspectRatio","pngMode"],"additionalProperties":false,"title":"نانوبانانا پرو"},{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":5000,"example":"<your-prompt>"},"quality":{"type":"string","enum":["2K","4K"]},"model":{"type":"string","enum":["nano-2"],"description":"اسم مدل"},"images":{"maxItems":14,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"aspectRatio":{"type":"string","enum":["auto","21:9","1:1","4:3","3:2","2:3","5:4","4:5","3:4","16:9","9:16"]}},"required":["prompt","quality","model","aspectRatio"],"additionalProperties":false,"title":"نانوبانانا ۲"},{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":5000,"example":"<your-prompt>"},"model":{"type":"string","enum":["gpt-image-2"],"description":"اسم مدل"},"aspectRatio":{"type":"string","enum":["21:9","16:9","5:4","4:3","3:2","1:1","2:3","3:4","4:5","9:16"]},"images":{"maxItems":16,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"quality":{"type":"string","enum":["1K","2K","4K"]},"version":{"type":"string","enum":["low","medium","high"]}},"required":["prompt","model","aspectRatio","quality","version"],"additionalProperties":false,"title":"GPT image 2"},{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":2000,"example":"<your-prompt>"},"model":{"type":"string","enum":["seedream5-lite"],"description":"اسم مدل"},"aspectRatio":{"type":"string","enum":["21:9","16:9","4:3","3:2","1:1","2:3","3:4","9:16","auto"]},"images":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."}},"required":["prompt","model","aspectRatio"],"additionalProperties":false,"title":"سیدریم 5 لایت"},{"type":"object","properties":{"model":{"type":"string","enum":["crystal"],"description":"اسم مدل"},"scale":{"type":"string","enum":["2","3","4","5","6","7","8","9","10"]},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"creative":{"type":"string","enum":["0","1","2","3","4","5","6","7","8","9","10"]}},"required":["model","scale","images","creative"],"additionalProperties":false,"title":"افزایش کیفیت تصویر Crystal"},{"type":"object","properties":{"model":{"type":"string","enum":["o3"],"description":"اسم مدل"},"images":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"quality":{"type":"string","enum":["1K","2K","4K"]},"prompt":{"type":"string","minLength":10,"maxLength":1400,"example":"<your-prompt>"},"aspectRatio":{"type":"string","enum":["9:16","2:3","3:4","1:1","4:3","3:2","16:9","21:9","auto"]},"elements":{"maxItems":10,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":3,"maxLength":10},"type":{"type":"string","enum":["کاراکتر/شخص","حیوان","اشیا","لباس/پوشیدنی","محیط/صحنه","افکت","سایر"]},"images":{"minItems":2,"maxItems":4,"type":"array","items":{"type":"string","minLength":1}},"description":{"type":"string","minLength":10,"maxLength":100}},"required":["name","type","images","description"],"additionalProperties":false}}},"required":["model","quality","prompt","aspectRatio"],"additionalProperties":false,"title":"کلینگ o3"},{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":1250,"example":"<your-prompt>"},"model":{"type":"string","enum":["seedream-45"],"description":"اسم مدل"},"aspectRatio":{"type":"string","enum":["21:9","16:9","4:3","3:2","1:1","2:3","3:4","9:16","auto"]},"images":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."}},"required":["prompt","model","aspectRatio"],"additionalProperties":false,"title":"سیدریم 4.5"},{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":1250,"example":"<your-prompt>"},"model":{"type":"string","enum":["seedream-4"],"description":"اسم مدل"},"aspectRatio":{"type":"string","enum":["21:9","16:9","4:3","3:2","1:1","2:3","3:4","9:16","auto"]},"images":{"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."}},"required":["prompt","model","aspectRatio"],"additionalProperties":false,"title":"سیدریم 4"},{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":1500,"example":"<your-prompt>"},"model":{"type":"string","enum":["gemini-2-5"],"description":"اسم مدل"},"images":{"maxItems":4,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"aspectRatio":{"type":"string","enum":["auto","21:9","1:1","4:3","3:2","2:3","5:4","4:5","3:4","16:9","9:16"]}},"required":["prompt","model","aspectRatio"],"additionalProperties":false,"title":"نانوبانانا 1"},{"type":"object","properties":{"images":{"maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"prompt":{"type":"string","minLength":10,"maxLength":1500,"example":"<your-prompt>"},"model":{"type":"string","enum":["kontext"],"description":"اسم مدل"},"aspectRatio":{"type":"string","enum":["21:9","16:9","4:3","3:2","1:1","2:3","3:4","9:16","auto"]},"version":{"type":"string","enum":["pro","max"]}},"required":["prompt","model","aspectRatio","version"],"additionalProperties":false,"title":"فلاکس کانتکست"},{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":1500,"example":"<your-prompt>"},"model":{"type":"string","enum":["flux1.1-pro-ultra"],"description":"اسم مدل"},"aspectRatio":{"type":"string","enum":["21:9","16:9","4:3","3:2","1:1","2:3","3:4","9:16","auto"]}},"required":["prompt","model","aspectRatio"],"additionalProperties":false,"title":"فلاکس 1.1 پرو اولترا"},{"type":"object","properties":{"model":{"type":"string","enum":["normal-upscale"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."}},"required":["model","images"],"additionalProperties":false,"title":"افزایش کیفیت تصویر ML"},{"type":"object","properties":{"prompt":{"type":"string","minLength":10,"maxLength":1250,"example":"<your-prompt>"},"model":{"type":"string","enum":["gpt-image-1.5"],"description":"اسم مدل"},"aspectRatio":{"type":"string","enum":["1:1","3:2","2:3"]},"images":{"maxItems":3,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"version":{"type":"string","enum":["low","medium","high"]}},"required":["prompt","model","aspectRatio","version"],"additionalProperties":false,"title":"GPT image 1.5"},{"type":"object","properties":{"model":{"type":"string","enum":["topaz"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"scale":{"type":"number","minimum":1.1,"maximum":4},"outputFormat":{"type":"string","enum":["jpeg","png"]},"faceEnhancement":{"type":"object","properties":{"enabled":{"type":"boolean"},"creativity":{"type":"number","minimum":0,"maximum":1},"strength":{"type":"number","minimum":0,"maximum":1}},"required":["enabled","creativity","strength"],"additionalProperties":false},"version":{"type":"string","enum":["low-res-2"]},"sharpen":{"type":"number","minimum":0,"maximum":1},"denoise":{"type":"number","minimum":0,"maximum":1},"fixCompression":{"type":"number","minimum":0,"maximum":1}},"required":["model","images","scale","outputFormat","faceEnhancement","version","sharpen","denoise","fixCompression"],"additionalProperties":false,"title":"توپاز Low Resolution 2"},{"type":"object","properties":{"model":{"type":"string","enum":["topaz"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"scale":{"type":"number","minimum":1.1,"maximum":4},"outputFormat":{"type":"string","enum":["jpeg","png"]},"faceEnhancement":{"type":"object","properties":{"enabled":{"type":"boolean"},"creativity":{"type":"number","minimum":0,"maximum":1},"strength":{"type":"number","minimum":0,"maximum":1}},"required":["enabled","creativity","strength"],"additionalProperties":false},"version":{"type":"string","enum":["std-2"]},"sharpen":{"type":"number","minimum":0,"maximum":1},"denoise":{"type":"number","minimum":0,"maximum":1},"fixCompression":{"type":"number","minimum":0,"maximum":1},"subjectDetection":{"type":"string","enum":["All","Background","Foreground"]}},"required":["model","images","scale","outputFormat","faceEnhancement","version","sharpen","denoise","fixCompression","subjectDetection"],"additionalProperties":false,"title":"توپاز Standard 2"},{"type":"object","properties":{"model":{"type":"string","enum":["topaz"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"scale":{"type":"number","minimum":1.1,"maximum":4},"outputFormat":{"type":"string","enum":["jpeg","png"]},"faceEnhancement":{"type":"object","properties":{"enabled":{"type":"boolean"},"creativity":{"type":"number","minimum":0,"maximum":1},"strength":{"type":"number","minimum":0,"maximum":1}},"required":["enabled","creativity","strength"],"additionalProperties":false},"version":{"type":"string","enum":["std-max"]}},"required":["model","images","scale","outputFormat","faceEnhancement","version"],"additionalProperties":false,"title":"توپاز Standard Max"},{"type":"object","properties":{"model":{"type":"string","enum":["topaz"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"scale":{"type":"number","minimum":1.1,"maximum":4},"outputFormat":{"type":"string","enum":["jpeg","png"]},"faceEnhancement":{"type":"object","properties":{"enabled":{"type":"boolean"},"creativity":{"type":"number","minimum":0,"maximum":1},"strength":{"type":"number","minimum":0,"maximum":1}},"required":["enabled","creativity","strength"],"additionalProperties":false},"version":{"type":"string","enum":["cgi"]},"sharpen":{"type":"number","minimum":0,"maximum":1},"denoise":{"type":"number","minimum":0,"maximum":1}},"required":["model","images","scale","outputFormat","faceEnhancement","version","sharpen","denoise"],"additionalProperties":false,"title":"توپاز CGI"},{"type":"object","properties":{"model":{"type":"string","enum":["topaz"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"scale":{"type":"number","minimum":1.1,"maximum":4},"outputFormat":{"type":"string","enum":["jpeg","png"]},"faceEnhancement":{"type":"object","properties":{"enabled":{"type":"boolean"},"creativity":{"type":"number","minimum":0,"maximum":1},"strength":{"type":"number","minimum":0,"maximum":1}},"required":["enabled","creativity","strength"],"additionalProperties":false},"version":{"type":"string","enum":["high-fid-2"]},"sharpen":{"type":"number","minimum":0,"maximum":1},"denoise":{"type":"number","minimum":0,"maximum":1},"fixCompression":{"type":"number","minimum":0,"maximum":1}},"required":["model","images","scale","outputFormat","faceEnhancement","version","sharpen","denoise","fixCompression"],"additionalProperties":false,"title":"توپاز High Fidelity 2"},{"type":"object","properties":{"model":{"type":"string","enum":["topaz"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"scale":{"type":"number","minimum":1.1,"maximum":4},"outputFormat":{"type":"string","enum":["jpeg","png"]},"faceEnhancement":{"type":"object","properties":{"enabled":{"type":"boolean"},"creativity":{"type":"number","minimum":0,"maximum":1},"strength":{"type":"number","minimum":0,"maximum":1}},"required":["enabled","creativity","strength"],"additionalProperties":false},"version":{"type":"string","enum":["text-refine"]},"sharpen":{"type":"number","minimum":0,"maximum":1},"denoise":{"type":"number","minimum":0,"maximum":1},"fixCompression":{"type":"number","minimum":0,"maximum":1},"textRefineStrength":{"type":"number","minimum":0.01,"maximum":1}},"required":["model","images","scale","outputFormat","faceEnhancement","version","sharpen","denoise","fixCompression","textRefineStrength"],"additionalProperties":false,"title":"توپاز Text Refine"},{"type":"object","properties":{"model":{"type":"string","enum":["topaz"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"scale":{"type":"number","minimum":1.1,"maximum":4},"outputFormat":{"type":"string","enum":["jpeg","png"]},"faceEnhancement":{"type":"object","properties":{"enabled":{"type":"boolean"},"creativity":{"type":"number","minimum":0,"maximum":1},"strength":{"type":"number","minimum":0,"maximum":1}},"required":["enabled","creativity","strength"],"additionalProperties":false},"version":{"type":"string","enum":["recovery"]}},"required":["model","images","scale","outputFormat","faceEnhancement","version"],"additionalProperties":false,"title":"توپاز Recovery V1"},{"type":"object","properties":{"model":{"type":"string","enum":["topaz"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"scale":{"type":"number","minimum":1.1,"maximum":4},"outputFormat":{"type":"string","enum":["jpeg","png"]},"faceEnhancement":{"type":"object","properties":{"enabled":{"type":"boolean"},"creativity":{"type":"number","minimum":0,"maximum":1},"strength":{"type":"number","minimum":0,"maximum":1}},"required":["enabled","creativity","strength"],"additionalProperties":false},"version":{"type":"string","enum":["redefine"]},"prompt":{"type":"string","minLength":0,"maxLength":1024,"example":"<your-prompt>"},"sharpen":{"type":"number","minimum":0,"maximum":1},"denoise":{"type":"number","minimum":0,"maximum":1},"creativity":{"type":"string","enum":["1","2","3","4","5","6"]},"texture":{"type":"string","enum":["1","2","3","4","5"]}},"required":["model","images","scale","outputFormat","faceEnhancement","version","sharpen","denoise","creativity","texture"],"additionalProperties":false,"title":"توپاز Redefine"},{"type":"object","properties":{"model":{"type":"string","enum":["topaz"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"scale":{"type":"number","minimum":1.1,"maximum":4},"outputFormat":{"type":"string","enum":["jpeg","png"]},"faceEnhancement":{"type":"object","properties":{"enabled":{"type":"boolean"},"creativity":{"type":"number","minimum":0,"maximum":1},"strength":{"type":"number","minimum":0,"maximum":1}},"required":["enabled","creativity","strength"],"additionalProperties":false},"version":{"type":"string","enum":["recovery-2"]},"detail":{"type":"number","minimum":0,"maximum":1},"subjectDetection":{"type":"string","enum":["All","Background","Foreground"]}},"required":["model","images","scale","outputFormat","faceEnhancement","version","detail","subjectDetection"],"additionalProperties":false,"title":"توپاز Recovery V2"},{"type":"object","properties":{"model":{"type":"string","enum":["topaz"],"description":"اسم مدل"},"images":{"minItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"image download URL - or file name obtained from /upload endpoint"},"description":"An array of image names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint. - دقیقا یک تصویر در آرایه الزامی است."},"scale":{"type":"number","minimum":1.1,"maximum":4},"outputFormat":{"type":"string","enum":["jpeg","png"]},"faceEnhancement":{"type":"object","properties":{"enabled":{"type":"boolean"},"creativity":{"type":"number","minimum":0,"maximum":1},"strength":{"type":"number","minimum":0,"maximum":1}},"required":["enabled","creativity","strength"],"additionalProperties":false},"version":{"type":"string","enum":["wonder"]}},"required":["model","images","scale","outputFormat","faceEnhancement","version"],"additionalProperties":false,"title":"توپاز Wonder"}],"title":"درخواست تولید تصویر"}}},"required":true},"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"type":"object","required":["genId"],"properties":{"genId":{"type":"string"}}}}}},"400":{"description":"Response for status 400","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"401":{"description":"Response for status 401","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"403":{"description":"Response for status 403","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"500":{"description":"Response for status 500","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}}},"operationId":"postGenerationCreate-image"}},"/generation/create-audio":{"post":{"tags":["تولید محتوا"],"description":"ایجاد درخواست تولید فایل صوتی","parameters":[{"name":"webhookUrl","in":"query","required":false,"schema":{"type":"string","description":"Your Webhook URL, if specified, the result of the generation will be POSTed to this URL."}},{"name":"demoMode","in":"query","required":false,"schema":{"description":"This parameter is used when the api key mode is 'development', default value is 'success'.\n        \nwhen set to 'failure', the dummy generation will be 'failed' after a few seconds, if set to 'success', the dummy generation will be 'completed' after a few seconds.","type":"string","enum":["failure","success"]}}],"requestBody":{"content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"model":{"type":"string","enum":["elevenlabs-3"],"description":"اسم مدل"},"stability":{"type":"number","minimum":0,"maximum":1,"description":"فقط اعداد 0، 0.5 و 1 برای الون لبز 3 مجاز هستند، مقدار کمتر مساوی احساسات بیشتر است."},"dialogs":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"voiceName":{"type":"string","enum":["Jessica","Halley","Adam","Grandpa Spuds","Grandma Rachel","Brian","Cassidy","David Castlemore","Daniel","Lily","Hope","George","Charlie","John Doe","Charlotte","Liam","Brittney","Alice","Alex Young","Sarah","Frederick Surrey","Bill","Ian Cartwell","Matilda","Will","Callum","Roger","Laura","Eric","Chris","River","Aria"],"description":"صدای الون لبز"}},"required":["text","voiceName"],"additionalProperties":false}}},"required":["model","stability","dialogs"],"additionalProperties":false,"title":"الون لبز ۳"},{"type":"object","properties":{"model":{"type":"string","enum":["elevenlabs-2"],"description":"اسم مدل"},"stability":{"type":"number","minimum":0,"maximum":1},"style":{"type":"number","minimum":0,"maximum":1},"similarity":{"type":"number","minimum":0,"maximum":1},"prompt":{"type":"string","minLength":10,"maxLength":5000,"example":"<your-prompt>"},"voiceName":{"type":"string","enum":["Jessica","Halley","Adam","Grandpa Spuds","Grandma Rachel","Brian","Cassidy","David Castlemore","Daniel","Lily","Hope","George","Charlie","John Doe","Charlotte","Liam","Brittney","Alice","Alex Young","Sarah","Frederick Surrey","Bill","Ian Cartwell","Matilda","Will","Callum","Roger","Laura","Eric","Chris","River","Aria"],"description":"صدای الون لبز"}},"required":["model","stability","style","similarity","prompt","voiceName"],"additionalProperties":false,"title":"الون لبز ۲ (Multilingual)"},{"oneOf":[{"type":"object","properties":{"model":{"type":"string","enum":["suno-5.5"],"description":"اسم مدل"},"gender":{"type":"string","enum":["male","female"]},"styleWeight":{"type":"number","minimum":0,"maximum":1},"weird":{"type":"number","minimum":0,"maximum":1},"audioWeight":{"type":"number","minimum":0,"maximum":1},"duration":{"type":"integer","minimum":10,"maximum":360},"negative":{"type":"string","maxLength":200},"audios":{"maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"customMode":{"type":"string","enum":["off"]},"prompt":{"type":"string","minLength":10,"maxLength":3000,"example":"<your-prompt>"}},"required":["model","gender","duration","customMode","prompt"],"additionalProperties":false},{"type":"object","properties":{"model":{"type":"string","enum":["suno-5.5"],"description":"اسم مدل"},"gender":{"type":"string","enum":["male","female"]},"styleWeight":{"type":"number","minimum":0,"maximum":1},"weird":{"type":"number","minimum":0,"maximum":1},"audioWeight":{"type":"number","minimum":0,"maximum":1},"duration":{"type":"integer","minimum":10,"maximum":360},"negative":{"type":"string","maxLength":200},"audios":{"maxItems":1,"type":"array","items":{"type":"string","minLength":1,"example":"audio download URL - or file name obtained from /upload endpoint"},"description":"An array of audio file names or download URLs - if you don't have a download URL, you can upload the file and get the file name from the /upload endpoint."},"customMode":{"type":"string","enum":["on"]},"prompt":{"type":"string"},"style":{"type":"string","minLength":10,"maxLength":1000},"title":{"type":"string","minLength":10,"maxLength":50},"instrumental":{"type":"boolean"}},"required":["model","gender","duration","customMode","style","title","instrumental"],"additionalProperties":false}]}],"title":"درخواست تولید صدا"}}},"required":true},"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"type":"object","required":["genId"],"properties":{"genId":{"type":"string"}}}}}},"400":{"description":"Response for status 400","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"401":{"description":"Response for status 401","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"403":{"description":"Response for status 403","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"500":{"description":"Response for status 500","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}}},"operationId":"postGenerationCreate-audio"}},"/api-files/upload":{"post":{"tags":["Files"],"description":"The file to use, after upload the file name will be returned and you can pass this name to generation endpoints","summary":"Upload a File","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","required":["file"],"properties":{"file":{"default":"File","type":"string","format":"binary"}}}}},"required":true},"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["image"]},"width":{"type":"number"},"height":{"type":"number"},"name":{"type":"string"},"id":{"type":"string"},"coverName":{"type":"string"}},"required":["type","width","height","name","id","coverName"],"additionalProperties":false,"title":"Image Upload Response"},{"type":"object","properties":{"type":{"type":"string","enum":["audio"]},"name":{"type":"string"},"id":{"type":"string"},"duration":{"type":"number"}},"required":["type","name","id","duration"],"additionalProperties":false,"title":"Audio Upload Response"},{"type":"object","properties":{"type":{"type":"string","enum":["video"]},"name":{"type":"string"},"id":{"type":"string"},"duration":{"type":"number"},"width":{"type":"number"},"height":{"type":"number"},"coverName":{"type":"string"}},"required":["type","name","id","duration","width","height","coverName"],"additionalProperties":false,"title":"Video Upload Response"}]}}}},"400":{"description":"Response for status 400","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"401":{"description":"Response for status 401","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"403":{"description":"Response for status 403","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"500":{"description":"Response for status 500","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}}},"operationId":"postApi-filesUpload"}},"/api-files/list":{"get":{"tags":["Files"],"description":"Listing your files","summary":"List Files","parameters":[{"name":"variant","in":"query","required":false,"schema":{"default":"all","description":"An array of file types you want to list, if not selected, all types will be listed.","type":"string","enum":["all","uploaded","generated"]}},{"name":"mimeTypes","in":"query","required":false,"schema":{"description":"An array of file MIME types you want to list, if not selected, all types will be listed.","type":"array","items":{"default":"image/png","type":"string","enum":["image/png","image/jpeg","image/webp","video/quicktime","video/mp4","audio/mp3","audio/wav","audio/x-wav","audio/mpeg"]}}},{"name":"offset","in":"query","required":true,"schema":{"minimum":0,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":0,"type":"number"}]}},{"name":"limit","in":"query","required":true,"schema":{"minimum":3,"maximum":24,"anyOf":[{"format":"numeric","default":0,"type":"string"},{"minimum":3,"maximum":24,"type":"number"}]}}],"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"type":"object","properties":{"hasNextPage":{"type":"boolean"},"files":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"The file name, you can pass this name to generation endpoints"},"id":{"type":"string","description":"The file ID, it is used for identification purposes only, it cannot be used as a file name in generation endpoints"},"links":{"type":"object","properties":{"private":{"type":"string","description":"Download link that requires an API key"},"publicTemporary":{"type":"string","description":"Temporary download link (valid for 10-30 minutes), does not require an API key"}},"required":["private","publicTemporary"],"additionalProperties":false},"mimeType":{"type":"string","enum":["image/png","image/jpeg","image/webp","video/quicktime","video/mp4","audio/mp3","audio/wav","audio/x-wav","audio/mpeg"]},"size":{"type":"number"},"type":{"type":"string","enum":["ai_generated","user_uploaded"]},"createdAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"timestamp in milliseconds since epoch"}},"required":["name","id","links","mimeType","size","type","createdAt"],"additionalProperties":false}}},"required":["hasNextPage","files"],"additionalProperties":false}}}},"400":{"description":"Response for status 400","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"401":{"description":"Response for status 401","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"403":{"description":"Response for status 403","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"500":{"description":"Response for status 500","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}}},"operationId":"getApi-filesList"}},"/api-files/delete":{"delete":{"tags":["Files"],"description":"Delete an uploaded file or a file generated by AI","summary":"Delete a File","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}}}},"required":true},"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"400":{"description":"Response for status 400","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"401":{"description":"Response for status 401","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"403":{"description":"Response for status 403","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}},"500":{"description":"Response for status 500","content":{"application/json":{"schema":{"type":"object","required":["message"],"properties":{"message":{"type":"string"}}}}}}},"operationId":"deleteApi-filesDelete"}}}}