diff --git a/apps/website/README.md b/apps/website/README.md index 159e3922c5f..683a8d54097 100644 --- a/apps/website/README.md +++ b/apps/website/README.md @@ -660,6 +660,18 @@ the hosted script once, and renders the documented embed container. - `pnpm ashby:refresh-snapshot` — refresh the committed careers snapshot - `pnpm cloud-nodes:refresh-snapshot` — refresh the committed cloud nodes snapshot +### Flux 3 Image launch draft + +Run the website dev server and open `/flux-3-image/` or +`/zh-CN/flux-3-image/` to edit the launch draft. The routes are available locally and in Vercel PR previews; production builds +exclude the pages. Their copy lives under `flux3Image` in the standard +`src/locales//main.json` catalogs. Preview pages stay noindex +and out of sitemap and generated Markdown/LLM catalogs. +The page reuses the Qwen image launch layout with a video hero placeholder and +clearly labeled reference samples. Replace the hero footage, sample outputs, +workflow/docs destinations, pricing, and FAQ placeholders before launch. The intended launch URL is `https://comfy.org/flux-3-image/`. No production +route, navigation entry, or launch date is enabled by this draft. + ### Comfy VFX campaign `/solutions/vfx/` and `/zh-CN/solutions/vfx/` render the latest V2 design. This change publishes no agency-led or other vertical campaign routes. V1 remains saved on `codex/vfx-landing`. diff --git a/apps/website/astro.config.ts b/apps/website/astro.config.ts index 5fe99b77468..8da15726ad4 100644 --- a/apps/website/astro.config.ts +++ b/apps/website/astro.config.ts @@ -43,6 +43,8 @@ export default defineConfig({ vite: { plugins: [tailwindcss()], define: { + 'import.meta.env.PUBLIC_LAUNCH_DRAFTS': + process.env.VERCEL_ENV === 'preview', __VUE_I18N_LEGACY_API__: false, __VUE_I18N_FULL_INSTALL__: false, __INTLIFY_PROD_DEVTOOLS__: false diff --git a/apps/website/docs/previews/flux-3-image/local-mock.png b/apps/website/docs/previews/flux-3-image/local-mock.png new file mode 100644 index 00000000000..22e4614c4ad Binary files /dev/null and b/apps/website/docs/previews/flux-3-image/local-mock.png differ diff --git a/apps/website/docs/previews/flux-3-image/native-draft.png b/apps/website/docs/previews/flux-3-image/native-draft.png new file mode 100644 index 00000000000..8d5eb11ee1b Binary files /dev/null and b/apps/website/docs/previews/flux-3-image/native-draft.png differ diff --git a/apps/website/e2e/flux-3-image-draft.spec.ts b/apps/website/e2e/flux-3-image-draft.spec.ts new file mode 100644 index 00000000000..2a4dacddca7 --- /dev/null +++ b/apps/website/e2e/flux-3-image-draft.spec.ts @@ -0,0 +1,52 @@ +import { expect } from '@playwright/test' + +import { test } from './fixtures/blockExternalMedia' + +for (const prefix of ['', '/zh-CN']) { + test(`serves the ${prefix || 'English'} FLUX 3 Image Klein launch page`, async ({ + page + }) => { + const response = await page.goto(`${prefix}/flux-3-image-klein/`) + + expect(response?.status()).toBe(200) + await expect( + page.getByRole('heading', { name: 'FLUX 3 Image Klein', exact: true }) + ).toBeVisible() + const hero = page.getByTestId('model-launch-hero-block') + await expect(hero).toHaveCount(2) + await expect(hero.locator('video')).toHaveAttribute( + 'src', + 'https://media.comfy.org/website/flux-3-image/flux-hero-1280.mp4' + ) + await expect( + page.getByRole('link', { + name: prefix ? '运行 FLUX 3 IMAGE KLEIN' : 'RUN FLUX 3 IMAGE KLEIN', + exact: true + }) + ).toHaveAttribute( + 'href', + 'https://cloud.comfy.org/?template=image_flux3_klein_t2i' + ) + await expect( + hero.getByRole('link', { + name: prefix ? '阅读文档' : 'READ DOCS', + exact: true + }) + ).toHaveAttribute( + 'href', + 'https://docs.comfy.org/tutorials/flux/flux-3-klein' + ) + }) +} + +test('plays the FLUX 3 Image Klein hero video on phones', async ({ page }) => { + await page.setViewportSize({ width: 390, height: 844 }) + await page.goto('/flux-3-image-klein/') + + await expect( + page.getByTestId('model-launch-hero-block').locator('video') + ).toHaveAttribute( + 'src', + 'https://media.comfy.org/website/flux-3-image/flux-hero-1280.mp4' + ) +}) diff --git a/apps/website/public/llms.txt b/apps/website/public/llms.txt index 1a88ec7157f..e0f93b9b709 100644 --- a/apps/website/public/llms.txt +++ b/apps/website/public/llms.txt @@ -100,6 +100,7 @@ Languages: comfy.org is published in English and Simplified Chinese, with a Japa - [Models Overview](https://comfy.org/hub/models/): Hosted models you can run in the browser and call through Comfy Router, one page per model. Markdown version at https://comfy.org/hub/models.md. For open-weight model files you run locally, see Supported Models above. - [ChatGPT Images 2.5 (OpenAI, image model)](https://comfy.org/chatgpt-image-2.5/): Generate new images, edit existing visuals, and direct results with reference images in repeatable ComfyUI workflows through Partner Nodes. - [Qwen-Image 2.1 (Alibaba Qwen, image model)](https://comfy.org/qwen-image-2.1/): Open-weights 7B image model that generates and edits in one checkpoint, with native 2K output, RGBA transparency, and accurate English and Chinese text rendering. +- [FLUX 3 Image Klein (Black Forest Labs, image model)](https://comfy.org/flux-3-image-klein/): Open-weights 5.6B image model that generates and edits in one checkpoint, runs on a single consumer GPU, and outputs natively at 4K. - [Nvidia VFX Nodes (NVIDIA, custom nodes)](https://comfy.org/nvidia-vfx/): Three ComfyUI custom nodes powered by Nvidia's RTX technology for ultra fast video super resolution, frame generation and SDR-to-HDR conversion, running locally on RTX GPUs or on Comfy Cloud. - [Flux 3 (Black Forest Labs, video model)](https://comfy.org/flux-3/): Multimodal model: video with native audio, up to 20 seconds per generation, from text, image, video, or keyframes. - [Gemini Omni 1.1 Flash (Google, video model)](https://comfy.org/gemini-omni/): One node covers text to video, image to video, reference to video, editing, and scene extension, with output up to 4K and audio on every clip. diff --git a/apps/website/src/components/hero/AngleNode.vue b/apps/website/src/components/hero/AngleNode.vue index 17060798665..3deb81644ae 100644 --- a/apps/website/src/components/hero/AngleNode.vue +++ b/apps/website/src/components/hero/AngleNode.vue @@ -111,7 +111,7 @@ onUnmounted(() => {