Ocean Ring
An explorer walks toward an ocean-spanning ring, with waterfalls beneath its glowing rim.
Showing SDR, which plays on any screen.
Vivid HDR
Ten-second worlds, generated by AI and graded so their highlights can shine brighter than the white of your screen. Here's how they were made, and a prompt that teaches your own coding agent to make more.
Inspired by "grassland special", an HDR video by @hi_personality, with instructions adapted from @EianLu's breakdown of how it gets its brightness.
Get the promptThree steps, in this order
-
Start with a bright world
Generate one detailed first frame with luminous whites, turquoise water, vivid greens and warm orange accents. Use full sun and plenty of fill light so the midtones stay colorful. HDR can't rescue a frame that was composed dark.
-
Make it really move
Send that frame to a video model with a specific action and camera path. A skater pushes and carves, a walker's feet alternate, and a drone follows close enough for the foreground to rush past. A slow zoom over a still doesn't count.
-
Give the highlights room
Convert the footage to linear light, move it into BT.2020, push only the brightest parts upward, and encode 10-bit HLG in HEVC. Keep a separate SDR export for screens that can't show the difference.
Colorful isn't the same as HDR. These scenes should look vivid in SDR too. HDR adds something else: on a compatible screen, clouds and sun glints can go brighter than the white around the video. Screenshots and GIFs can't capture that, so judge it on the screen itself, ideally with the brightness turned down.
Sharing on X? Post the HDR file. That's the version that can outshine the feed around it. You don't generate anything twice: the skill makes one clip and exports both files from it. Keep the SDR file for places that don't handle HDR well, and for comparing the two. X re-encodes uploads and we haven't tested how our clips hold up there, so check the post on an HDR phone.
What you'll need
Your coding agent runs the workflow. The cloud renders the video and your computer does the final encoding, so you don't need a powerful graphics card.
- A coding agent with file access, a terminal and internet access, plus support for reusable skills or saved instructions.
- An OpenRouter account with credits and an API key, kept in a private environment variable and never pasted into a prompt or page.
- A first frame. Supply your own, or let the agent make one. Codex uses its built-in image tool. Claude Code has none, so it uses OpenAI's latest image model through OpenRouter.
- Local finishing tools: Python 3, NumPy, Pillow, and FFmpeg with libx265 and lut3d. The agent can check for these and walk you through installing them.
- An HDR screen and player to see the result. A recent iPhone or Mac in Safari is the safest bet.
One prompt to build the skill
A skill is a folder of instructions and helper scripts your agent can reuse. Paste this into a coding agent. It installs the workflow and tests it locally without spending anything on video.
Then ask for a scene
Use the vivid-hdr-video skill to make a 10-second scene of an astronaut walking toward a colossal floating observatory above a turquoise ocean.
What the agent does with that
- Composes and inspects the first frame, setting palette, lighting, subject and scale before paying to animate it.
- Submits one video job. It checks current models and prices, saves the job ID, and polls until done. If a submission is uncertain it stops instead of paying twice.
- Reviews the footage for real footfalls or riding, camera movement, stable anatomy and steady exposure.
- Converts the color properly. It decodes SDR to linear light, converts BT.709 primaries to BT.2020, expands selected highlights and encodes HLG. Adding HDR tags alone does none of this.
- Packages and verifies. It exports HEVC 10-bit HLG tagged hvc1 plus an SDR comparison, then checks decoding, metadata and raw luma values against a contact sheet and highlight map.
How much does a video cost?
About $1.15 in November 2026: $1.12 for a silent 10-second clip from Kling v3.0 Pro through OpenRouter, plus about $0.03 for the first frame from gpt-image-2.5-sunburst. Prices change, so the skill checks them before it spends anything.
Why does the HDR version look the same, or fail to play?
Your browser or screen may not support HEVC with HLG, or may map it down to SDR. If a file won't play, this page falls back to SDR. Uploading to a social platform can also change the file. We've verified the encoded format here, not how bright it looks on every phone or on X.
What did you change from the original instructions?
The approach is the same: real conversion to HLG, boosted highlights, verification. We didn't crush the shadows, because that made early results look dim. We also treat 75% HLG as reference white under a specific display setup, not as the brightness of an app's interface, and treat highlight percentages as a creative guide, since encoded luma can't tell you what a screen will actually show.
Can I make a GIF instead?
Yes, as a preview. GIF can't carry HDR, so keep the HLG MP4 as the real deliverable.