{"code":200,"message":"success","data":{"components":{"schemas":{"Input":{"additionalProperties":false,"properties":{"generate_audio":{"default":true,"description":"Whether to generate native audio for the edited output. Defaults to true. When set to false, the input video's audio track is preserved on the output instead.","type":"boolean"},"output_format":{"default":"mp4","description":"The container of the output video. mov is a QuickTime file with 4:4:4 video (H.264 up to 1080p, HEVC 10-bit at 4k) and uncompressed audio, intended for post-production; some browsers and players cannot play it.","enum":["mp4","mov"],"type":"string","x-ui-component":"select"},"prompt":{"description":"Describe the edit you want applied to the input video.","type":"string"},"reference_audios":{"description":"Optional reference audio URLs to guide audio generation.","items":{"type":"string"},"maxItems":10,"type":"array"},"reference_images":{"description":"Optional reference image URLs to guide the edit (subject identity, style, etc.).","items":{"type":"string"},"maxItems":30,"type":"array"},"resolution":{"default":"720p","description":"Output video resolution.","enum":["480p","720p","1080p","4k"],"type":"string","x-ui-component":"select"},"video":{"description":"URL of the input video to edit. Videos longer than 30s are trimmed to 30s; videos shorter than 4s are padded to 4s.","type":"string"}},"required":["prompt","video"],"type":"object","x-order-properties":["prompt","video","reference_images","reference_audios","resolution","generate_audio","output_format"]},"PredictionResponse":{"properties":{"created_at":{"description":"ISO timestamp of when the request was created (e.g., “2023-04-01T12:34:56.789Z”).","format":"date-time","type":"string"},"id":{"description":"Unique identifier for the prediction, the ID of the prediction to get.","type":"string"},"model":{"description":"Model ID used for the prediction.","type":"string"},"outputs":{"description":"Array of generated outputs (empty when status is not completed). Items are usually URL strings, but may be text strings or structured result objects, depending on the model.","items":{"oneOf":[{"type":"string"},{"type":"object"}]},"type":"array"},"status":{"description":"Status of the task: created, processing, completed, or failed.","type":"string"},"urls":{"description":"Object containing related API endpoints.","type":"object"}},"type":"object"}},"securitySchemes":{"apiKeyAuth":{"in":"header","name":"Authorization","type":"apiKey"}}},"info":{"description":"The WaveSpeed API.","title":"WaveSpeed API","version":"3.0.0"},"openapi":"3.0.0","paths":{"/api/v3/bytedance/seedance-2.5/video-edit":{"post":{"description":"Submit a request to run the model and create a prediction.","operationId":"createPrediction","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Input"}}},"description":"Input parameters for the model.","required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionResponse"}}},"description":"Prediction request accepted."}},"summary":"Create prediction"},"x-api-name":"model_run"},"/api/v3/predictions/{request_id}/result":{"get":{"description":"Retrieve the current status and result of a prediction.","operationId":"getPredictionResult","parameters":[{"description":"The ID of the prediction request.","in":"path","name":"request_id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionResponse"}}},"description":"Prediction result."}},"summary":"Get prediction result"},"x-api-name":"model_result"}},"security":[{"apiKeyAuth":[]}],"servers":[{"url":"https://api.wavespeed.ai"}]}}