Browse Source
Vidu rejects generic video reference payloads, while the canvas preview also needs to keep long prompt text inside the prompt node bounds. This keeps provider-specific video reference fields for Vidu and constrains long prompt previews without changing the Seedance media field mapping. Constraint: Vidu/NewApiWG expects reference_video_urls for video-reference generation. Rejected: Change all video providers to reference_* fields | Seedance has existing coverage and logs using generic images/videos/audios. Confidence: high Scope-risk: narrow Directive: Do not collapse Vidu video references back to videos without validating against the gateway schema. Tested: npm run test:run -- src/app/api/generate/providers/__tests__/newapiwg.test.ts src/components/__tests__/PromptNode.test.tsx Tested: git diff --check Tested: npm run build Not-tested: Real Vidu generation, to avoid consuming account points.TEST-s
4 changed files with 77 additions and 3 deletions
Loading…
Reference in new issue