diff --git a/apps/website/e2e/workshop-apps.spec.ts b/apps/website/e2e/workshop-apps.spec.ts index 773f19b52dd..1bed69dd62d 100644 --- a/apps/website/e2e/workshop-apps.spec.ts +++ b/apps/website/e2e/workshop-apps.spec.ts @@ -132,7 +132,7 @@ for (const { reducedMotion, paused } of [ await page.emulateMedia({ reducedMotion }) const posters: string[] = [] page.on('requestfinished', (request) => { - if (request.url().endsWith('/poster.jpg')) posters.push(request.url()) + if (request.url().endsWith('_V2.jpg')) posters.push(request.url()) }) await page.goto('/hub/apps/') @@ -142,17 +142,17 @@ for (const { reducedMotion, paused } of [ await expect(artwork).toHaveCount(2) await expect(artwork.nth(0)).toHaveAttribute( 'src', - `${APP_MEDIA}/cinematic-studio/thumbnail-480.mp4` + `${APP_MEDIA}/cinematic-studio/thumbnail-480_V2.mp4` ) await expect(artwork.nth(1)).toHaveAttribute( 'src', - `${APP_MEDIA}/reshoot/thumbnail-480.mp4` + `${APP_MEDIA}/reshoot/thumbnail-4802_V2.mp4` ) await expect .poll(() => posters.toSorted()) .toEqual([ - `${APP_MEDIA}/cinematic-studio/poster.jpg`, - `${APP_MEDIA}/reshoot/poster.jpg` + `${APP_MEDIA}/cinematic-studio/cinematic_poster_V2.jpg`, + `${APP_MEDIA}/reshoot/reshoot_poster_V2.jpg` ]) await expect(artwork.nth(0)).toHaveJSProperty('paused', paused) await expect(artwork.nth(1)).toHaveJSProperty('paused', paused) diff --git a/apps/website/src/content/workshop-display.json b/apps/website/src/content/workshop-display.json index 60800618724..19581f34c40 100644 --- a/apps/website/src/content/workshop-display.json +++ b/apps/website/src/content/workshop-display.json @@ -1,7 +1,7 @@ [ -{"id":"apps/cinematic-studio","slug":"apps/cinematic-studio","modelId":"apps/cinematic-studio","type":"APP","displayName":"Cinematic Studio","description":"Direct a shot with a real camera, light and grade, then run it on any image model.","media":{"thumbnail":{"url":"https://media.comfy.org/website/workshop/apps/cinematic-studio/thumbnail-480.mp4","kind":"video","poster":"https://media.comfy.org/website/workshop/apps/cinematic-studio/poster.jpg"}},"examples":[],"advancedFields":[],"pricing":null,"status":"active","license":null,"mediaConfidence":"exact","needsReview":false,"useCase":"generate-images","recommendedRank":0}, +{"id":"apps/cinematic-studio","slug":"apps/cinematic-studio","modelId":"apps/cinematic-studio","type":"APP","displayName":"Cinematic Studio","description":"Direct a shot with a real camera, light and grade, then run it on any image model.","media":{"thumbnail":{"url":"https://media.comfy.org/website/workshop/apps/cinematic-studio/thumbnail-480_V2.mp4","kind":"video","poster":"https://media.comfy.org/website/workshop/apps/cinematic-studio/cinematic_poster_V2.jpg"}},"examples":[],"advancedFields":[],"pricing":null,"status":"active","license":null,"mediaConfidence":"exact","needsReview":false,"useCase":"generate-images","recommendedRank":0}, {"id":"apps/openjutsu","slug":"apps/openjutsu","modelId":"apps/openjutsu","type":"APP","displayName":"Openjutsu","description":"Swap a character in your video for one from a single image, and keep the scene and its sound.","media":{"thumbnail":{"url":"https://media.comfy.org/website/workshop/apps/openjutsu/thumbnail-480.mp4","kind":"video","poster":"https://media.comfy.org/website/workshop/apps/openjutsu/poster.jpg"}},"examples":[],"advancedFields":[],"pricing":null,"status":"active","license":null,"mediaConfidence":"exact","needsReview":true,"useCase":"edit-videos","recommendedRank":2}, -{"id":"apps/reshoot","slug":"apps/reshoot","modelId":"apps/reshoot","type":"APP","displayName":"Re-shoot a video","description":"Aim a new camera at your clip and generate the scene from that angle.","media":{"thumbnail":{"url":"https://media.comfy.org/website/workshop/apps/reshoot/thumbnail-480.mp4","kind":"video","poster":"https://media.comfy.org/website/workshop/apps/reshoot/poster.jpg"}},"examples":[],"advancedFields":[],"pricing":null,"status":"active","license":null,"mediaConfidence":"exact","needsReview":true,"useCase":"edit-videos","recommendedRank":1}, +{"id":"apps/reshoot","slug":"apps/reshoot","modelId":"apps/reshoot","type":"APP","displayName":"Re-shoot a video","description":"Aim a new camera at your clip and generate the scene from that angle.","media":{"thumbnail":{"url":"https://media.comfy.org/website/workshop/apps/reshoot/thumbnail-4802_V2.mp4","kind":"video","poster":"https://media.comfy.org/website/workshop/apps/reshoot/reshoot_poster_V2.jpg"}},"examples":[],"advancedFields":[],"pricing":null,"status":"active","license":null,"mediaConfidence":"exact","needsReview":true,"useCase":"edit-videos","recommendedRank":1}, {"displayName":"Beeble SwitchX Image Edit","media":{"thumbnail":{"url":"https://media.comfy.org/website/workshop/beeble/switchx-image-edit/studio-to-neon-alley.png","kind":"image"},"samples":[{"url":"https://media.comfy.org/website/workshop/beeble/switchx-image-edit/studio-to-neon-alley.png","kind":"image","prompt":"A rain-soaked neon alley at night: wet asphalt mirroring magenta and cyan signs, a fire escape and steam drifting from a grate behind the figure, a hard on-camera flash freezing raindrops in mid-air and throwing a crisp shadow onto the wall, cool blue fill from the left, high contrast and a touch of film grain. The figure, the electric-blue windbreaker, the trousers, the pose and the full-length framing stay exactly the same. No readable signs, no text."}]},"examples":[{"title":"Studio to neon alley","description":"The subject's pixels are preserved while the studio backdrop and lighting are switched to a flash-lit neon street, showing Beeble SwitchX's scene switching.","values":{"prompt":"A rain-soaked neon alley at night: wet asphalt mirroring magenta and cyan signs, a fire escape and steam drifting from a grate behind the figure, a hard on-camera flash freezing raindrops in mid-air and throwing a crisp shadow onto the wall, cool blue fill from the left, high contrast and a touch of film grain. The figure, the electric-blue windbreaker, the trousers, the pose and the full-length framing stay exactly the same. No readable signs, no text.","alpha_mode":"auto","max_resolution":"1080p","medias":[{"role":"image","value":"https://media.comfy.org/website/workshop/beeble/switchx-image-edit/switchx-image-edit-input-1.1.png"}]}}],"advancedFields":["alpha_mode","max_resolution"],"pricing":{"creditsPerRun":6},"status":"active","license":null,"mediaConfidence":"exact","needsReview":false,"id":"beeble--switchx-image-edit--edit-images","slug":"beeble--switchx-image-edit--edit-images","modelId":"beeble/switchx-image-edit","useCase":"edit-images"}, {"displayName":"Beeble SwitchX Video Edit","media":{"thumbnail":{"url":"https://media.comfy.org/website/workshop/beeble/switchx-video-edit/overcast-to-neon-blue-hour.mp4","kind":"video"},"samples":[{"url":"https://media.comfy.org/website/workshop/beeble/switchx-video-edit/overcast-to-neon-blue-hour.mp4","kind":"video","prompt":"Same plaza, same bare plane trees, same chain-link fence and concrete ledge, relit from flat overcast noon to blue hour just after rain: a deep cobalt sky, hard magenta and cyan neon from off-frame throwing coloured rim light along the rider and the board, the wet asphalt mirroring long streaks of pink and teal, cool blue fill in the shadows, a warm sodium glow on the far trees. No signs, no lettering, no new buildings. Keep the rider, the board, every movement, the camera track and the framing exactly as they are; only the lighting, sky and reflections change."}]},"examples":[{"title":"Overcast to neon blue hour","description":"Relights a 5-second overcast skate clip to blue hour with neon reflections while the skater, motion, camera and plaza stay untouched (alpha_mode fill).","values":{"prompt":"Same plaza, same bare plane trees, same chain-link fence and concrete ledge, relit from flat overcast noon to blue hour just after rain: a deep cobalt sky, hard magenta and cyan neon from off-frame throwing coloured rim light along the rider and the board, the wet asphalt mirroring long streaks of pink and teal, cool blue fill in the shadows, a warm sodium glow on the far trees. No signs, no lettering, no new buildings. Keep the rider, the board, every movement, the camera track and the framing exactly as they are; only the lighting, sky and reflections change.","alpha_mode":"fill","max_resolution":"1080p"}}],"advancedFields":["alpha_mode","max_resolution"],"pricing":{"creditsPerRun":9},"status":"active","license":null,"mediaConfidence":"exact","needsReview":false,"id":"beeble--switchx-video-edit--edit-videos","slug":"beeble--switchx-video-edit--edit-videos","modelId":"beeble/switchx-video-edit","useCase":"edit-videos"}, {"displayName":"FLUX 2 Max Text-to-Image","media":{"thumbnail":{"url":"https://comfy-hub-assets.comfy.org/templates/a644a267-23f9-4a55-b967-4a7c05bd9da8.png","kind":"image"},"samples":[{"url":"https://cdn.jsdelivr.net/gh/Comfy-Org/workflow_templates@main/output/api_bfl_flux2_max_sofa_swap.png","kind":"image","prompt":"Replace the current sofa with the one in Image 2, then place the character from Image 3 on the new sofa. Keep the scene lighting, environment, color scheme, and all other furniture completely unchanged.\n"}]},"examples":[{"title":"FLUX.2 [max]: Object Swap","description":"Replace objects in images with unmatched quality using FLUX.2 [max]. Perfect for product photography, furniture swaps, and maintaining scene consistency with highest editing precision.","values":{"prompt":"Replace the current sofa with the one in Image 2, then place the character from Image 3 on the new sofa. Keep the scene lighting, environment, color scheme, and all other furniture completely unchanged.\n","width":1024,"height":768,"medias":[{"role":"image","value":"https://cdn.jsdelivr.net/gh/Comfy-Org/workflow_templates@main/input/minimalist_wooden_sofa_living_room.png"},{"role":"image","value":"https://cdn.jsdelivr.net/gh/Comfy-Org/workflow_templates@main/input/fluffy_beige_sofa.png"},{"role":"image","value":"https://cdn.jsdelivr.net/gh/Comfy-Org/workflow_templates@main/input/black_coat_model.png"}]}}],"advancedFields":["seed","height","prompt_upsampling","width"],"pricing":{"creditsPerRun":26},"status":"active","license":null,"mediaConfidence":"exact","needsReview":false,"id":"bfl--flux-2-max--generate-images","slug":"bfl--flux-2-max--generate-images","modelId":"bfl/flux-2-max","useCase":"generate-images"}, diff --git a/apps/website/src/lib/workshop/apps.test.ts b/apps/website/src/lib/workshop/apps.test.ts index aa1cefe7e07..4d678b902d9 100644 --- a/apps/website/src/lib/workshop/apps.test.ts +++ b/apps/website/src/lib/workshop/apps.test.ts @@ -19,9 +19,10 @@ describe('workshopAppHref', () => { workshopApps('en', appModels).find(({ key }) => key === 'reshoot') ?.thumbnail ).toEqual({ - url: 'https://media.comfy.org/website/workshop/apps/reshoot/thumbnail-480.mp4', + url: 'https://media.comfy.org/website/workshop/apps/reshoot/thumbnail-4802_V2.mp4', kind: 'video', - poster: 'https://media.comfy.org/website/workshop/apps/reshoot/poster.jpg' + poster: + 'https://media.comfy.org/website/workshop/apps/reshoot/reshoot_poster_V2.jpg' }) }) })