feat(ui): Video playground tab + video capability plumbing #2
Reference in New Issue
Block a user
Delete Branch "feat/video-ui"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Answers "does the new llama-swap have a built-in video section?" — it does now.
Playground → Video tab: model selector (filtered to
video_generation/image_to_videocapabilities), prompt + negative prompt, size/frames/fps/steps/guidance/seed knobs (0 = model default), optional conditioning-image upload for image-to-video, an elapsed-time counter on the spinner (the sync call blocks for minutes), inline<video>playback with loop + download. CallsPOST /v1/videos/sync(multipart) via the routes merged in #1.Capability plumbing:
videois now a validcapabilities.in/outmodality;/v1/modelsmapstext→video⇒video_generationandimage→video⇒image_to_video(mirrors the image mappings), which is what the tab's model filter keys on. Declare video models like:Verified:
svelte-check0 errors, 97 UI tests + full Go suite green,vite buildclean. After merge, the broadened CI trigger (b83edeb) auto-builds the image.🤖 Generated with Claude Code
https://claude.ai/code/session_01AXQxVhXBw8PwFAtsVrXSmj
New Video tab in the Playground: model selector filtered to video_generation/image_to_video capabilities, prompt + negative prompt, size/frames/fps/steps/guidance/seed knobs (0 = model default), optional conditioning-image upload (image-to-video), elapsed-time spinner for the minutes-long blocking call, inline <video> playback + download. Calls POST /v1/videos/sync (multipart); resolution rides as both width/height and size so either upstream convention honors it. Config side: "video" joins the valid capability modalities, and /v1/models maps text->video to video_generation and image->video to image_to_video, mirroring the image mappings. Declare e.g.: videogen-wan22-5b: capabilities: in: [text, image] out: [video] Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AXQxVhXBw8PwFAtsVrXSmj