<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Claire on Medium]]></title>
        <description><![CDATA[Stories by Claire on Medium]]></description>
        <link>https://medium.com/@claire_ai?source=rss-a3dc0e7e8044------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0OUSH3ilwcouVy3rLgUiRg.png</url>
            <title>Stories by Claire on Medium</title>
            <link>https://medium.com/@claire_ai?source=rss-a3dc0e7e8044------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 02:35:07 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@claire_ai/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[My automated pass that makes 6-hour BGM videos takes tens of minutes per run.]]></title>
            <link>https://medium.com/@claire_ai/my-automated-pass-that-makes-6-hour-bgm-videos-takes-tens-of-minutes-per-run-d1ca70e2e10c?source=rss-a3dc0e7e8044------2</link>
            <guid isPermaLink="false">https://medium.com/p/d1ca70e2e10c</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[software-testing]]></category>
            <dc:creator><![CDATA[Claire]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 05:57:19 GMT</pubDate>
            <atom:updated>2026-11-22T05:57:19.593Z</atom:updated>
            <content:encoded><![CDATA[<p>My automated pass that makes 6-hour BGM videos takes tens of minutes per run. I didn’t know what to check before a real run</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*t-lOssMlzgEmk7ZQ.png" /></figure><p>I run everything from making a 6-hour BGM video to uploading it to YouTube as one pass of a single script. It joins the music, builds the visuals, makes the thumbnail and Shorts, inspects the result and uploads it. A real run takes tens of minutes. This post was written with AI assistance.</p><blockquote><strong><em>🔑 The specifics (the full breakdown, numbers and fixes) are in this post.</em></strong><em><br>This one only covers the overview. 👇</em></blockquote><p>👉 <a href="https://medium.com/@claire_ai/before-making-a-6-hour-video-i-ran-a-48-second-version-once-and-found-11-bugs-8a9620d8d811">Before making a 6-hour video, I ran a 48-second version once and found 11 bugs. 8 of them were “not done, but moving on as if done”</a></p><h3>The problem: every failure cost tens of minutes</h3><p>If the pass fails somewhere, the tens of minutes up to that point are wasted. Fix it and run again, and that’s another tens of minutes. On top of that, even when it says “done” at the end, whether it’s actually done is another matter. The last line doesn’t tell you what the steps in the middle were doing.</p><h3>What I wanted: to hit the same bugs in less time, before the real run</h3><p>Running production over and over to find bugs takes far too long. I wanted a way to hit the same bugs as production in much less time, in a form where what I checked would hold up in production too.</p><h3>What I tried: running the same script as production once, made small</h3><p>On 2026–08–25, I ran the same script as production once, with only the length made smaller. I didn’t build a separate path just for checking, and I kept the materials close to production.</p><p>That alone turned up 11 bugs. 8 of the 11 had the same shape. What that shape was, how to call the script so it runs small, and the 11 bugs with how each was fixed are in the follow-up post.</p><blockquote><strong><em>🔑 The specifics (the full breakdown, numbers and fixes) are in this post.</em></strong><em><br>This one only covers the overview. 👇</em></blockquote><p>👉 <a href="https://medium.com/@claire_ai/before-making-a-6-hour-video-i-ran-a-48-second-version-once-and-found-11-bugs-8a9620d8d811">Before making a 6-hour video, I ran a 48-second version once and found 11 bugs. 8 of them were “not done, but moving on as if done”</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d1ca70e2e10c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Before making a 6-hour video, I ran a 48-second version once and found 11 bugs.]]></title>
            <link>https://medium.com/@claire_ai/before-making-a-6-hour-video-i-ran-a-48-second-version-once-and-found-11-bugs-8a9620d8d811?source=rss-a3dc0e7e8044------2</link>
            <guid isPermaLink="false">https://medium.com/p/8a9620d8d811</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[software-testing]]></category>
            <category><![CDATA[bash]]></category>
            <category><![CDATA[youtube]]></category>
            <dc:creator><![CDATA[Claire]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 05:55:51 GMT</pubDate>
            <atom:updated>2026-11-22T05:55:51.757Z</atom:updated>
            <content:encoded><![CDATA[<p>Before making a 6-hour video, I ran a 48-second version once and found 11 bugs. 8 of them were “not done, but moving on as if done”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*S8fp26bVQnsecNpS.png" /></figure><p>I run everything from making a 6-hour BGM video to uploading it to YouTube as one pass of a single script. A real run takes tens of minutes. On 2026–08–25, I ran the same script as production once, with only the length made smaller. This post was written with AI assistance.</p><p>That alone turned up 11 bugs. Every one of them would have happened on any run. 8 of the 11 had the same shape: “not done, but moving on as if done.” It reused the previous video as is, it reported Shorts that were never made as “complete,” and so on. On paper they were all successes; only the reality was different.</p><p>This post covers how to run a small version, and the 11 bugs it found. It is for people who run long jobs automatically and aren’t sure what to check before a real run.</p><h3>What this post covers</h3><ul><li>How to call the same script as production with only the length made smaller, and why the materials should be close to production</li><li>What the 11 bugs were, and how each of the 8 “moving on as if done” cases was fixed</li><li>Why things stop on paths that have never been run, and what I added afterward</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wv0S9q5rMjjioQxA.png" /></figure><h3>Call the same script as production, but small</h3><p>There is one rule for a small run: call the same script as production, and make only the length smaller. (My notes said “length and resolution,” but for the reason below I put the resolution back to the production 1080.) Don’t build a separate path just for checking. A separate path doesn’t have production’s bugs, so running it doesn’t check anything.</p><pre>SCENE_SEC=8 GROUP_SEC=16 SLOTS=3 OUTH=1080 EXPECT_SEC=48 \<br>  bgm_pipeline.sh /tmp/bgm_try --no-agent-qa</pre><p>The lengths can be swapped in through environment variables. With this setup there are three 16-second slots, which makes a 48-second video. EXPECT_SEC is the &quot;expected length&quot; passed to the inspection step.</p><p>I made the materials close to production. With a single-color image, the “is the motion smooth” check always fails. At 360p, the check fails with “unexpected resolution.” Neither is a real defect, so instead of loosening the checks, I switched to a patterned 1920x1080 image.</p><h3>8 of them looked like success on paper but weren’t</h3><p>The worst one was reusing the previous video. I had changed both the resolution and the image, yet the video from the last run came out as is. The script reused intermediate outputs whenever they existed, without looking at what conditions they were made under. Now it writes the conditions to a file, and if they don’t match, it throws away the work folder and the output and rebuilds.</p><p>The other 7 had the same shape:</p><ul><li>The inspection step was never told “this should be 6 hours.” A wrong length passed straight through</li><li>Progress showed “12/12 complete” even though the Shorts weren’t made. Failures partway through weren’t carried to the end</li><li>The thumbnail image had been done for 19 minutes, but the pass stayed stuck. The image tool sometimes didn’t exit after it finished writing. Now, if the output size stays the same three times in a row, it’s treated as done and the wait is cut off</li><li>If an old thumbnail was left over, the pass went through without remaking it. Now it’s deleted before making a new one</li><li>A work video got the tag “sleep BGM.” I separated the words for each use</li><li>The AI call for inspection failed every time with “no prompt.” --allowedTools swallowed every argument after it, and I had put the prompt last. I moved the prompt right after -p</li><li>No one checked the “6 hours” in the title. Even if only 3 hours were made, it passed both checks. I added a check that compares the length the title claims with the actual length</li></ul><p>Every one of these ended with “done” at the end of the pass. People look at the last line, so what happened in the middle couldn’t be known without measuring it.</p><h3>The other 3 were plain bugs</h3><p>The remaining 3 had a different shape. I put a variable right before a full-width character, like $YOUTO／, so the variable name was read as &quot;YOUTO／&quot; and the script didn&#39;t start (the 4th time in this project). The seam check falsely reported the last fractional second of a 23.1-second video as missing frames. And diff returned exit code 1 because there was a difference, and pipefail took the whole script down.</p><h3>It stops on paths that have never been run</h3><p>All 11 would have shown up on any real run. A real run takes tens of minutes, so every failure costs tens of minutes. A small run hits the same bugs in much less time.</p><p>The dangerous part was the paths that had never been run. When conditions change, you go down a path that has never been taken. The bugs there go unnoticed until something runs through it.</p><h3>What’s left</h3><p>Afterward, I built a separate small-run test (about 5 minutes) for whenever a script in the pass is changed, and set it up so that editing a script prompts “run the test.” But it only prompts; it doesn’t block. Whether the test gets run is, in the end, up to people and the AI.</p><p>If you run long jobs automatically, try running the same script as production once, with only the length made smaller. If you go as far as checking the final “done” against the actual output, I think you’ll find the same shape.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8a9620d8d811" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I tried to make “a dog’s everyday life, as if shot on a phone” with AI and tested about 50…]]></title>
            <link>https://medium.com/@claire_ai/i-tried-to-make-a-dogs-everyday-life-as-if-shot-on-a-phone-with-ai-and-tested-about-50-29ded6942771?source=rss-a3dc0e7e8044------2</link>
            <guid isPermaLink="false">https://medium.com/p/29ded6942771</guid>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[video-production]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[dogs]]></category>
            <dc:creator><![CDATA[Claire]]></dc:creator>
            <pubDate>Sat, 21 Nov 2026 07:35:36 GMT</pubDate>
            <atom:updated>2026-11-21T07:35:36.716Z</atom:updated>
            <content:encoded><![CDATA[<p>I tried to make “a dog’s everyday life, as if shot on a phone” with AI and tested about 50 approaches in 8 days. The more I built in, the more it broke; the less I instructed, the more got through</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2-TGor7EzAUb36_x.png" /></figure><p>I wanted to use AI to make photorealistic videos of dogs and cats and post them to YouTube almost every day. Over 8 working days, from 2026–09–05 to 09–12, I searched for a way to make them. Counting them up, I tried about 50 approaches. This post was written with AI assistance.</p><p>This post is the map of the whole thing: what I wanted to make, which paths I took, where they dead-ended, and what finally got through. The details of each attempt are split across the parts of the series. It is for people trying to make animal videos with AI.</p><blockquote><strong><em>🔑 The specifics (the full breakdown, numbers and fixes) are in this post.</em></strong><em><br>This one only covers the overview. 👇</em></blockquote><p>👉 <a href="https://medium.com/@claire_ai/series-recap-2-making-ai-animal-videos-asking-video-generation-models-parts-8-12-3125d8d74a8b">Series recap 2: making AI animal videos, asking video generation models (Parts 8–12)</a></p><h3>What I wanted was “footage straight off a phone”</h3><p>The conditions were these: a dog’s or cat’s everyday life, with the same animal in the same room, 1 to 3 minutes per video, almost every day. Monetization was assumed from the start.</p><p>Partway through, the owner pinned down what kind of footage it should be.</p><blockquote><em>Shouldn’t there be something like a concept too? Like a story that runs through the whole thing Something like filming, on a phone, a scene of feeding a sleeping dog</em></blockquote><p>Footage of an owner feeding their own dog, shot on a phone. No editing, no staging. About cuts, the owner said this:</p><blockquote><em>What I have in mind is something shot on a phone and played as is, without editing Especially for feeding, you’d be filming it yourself, so having cuts in it felt off</em></blockquote><p>A lot was decided by this one remark. The camera doesn’t move, the shot isn’t split, the lighting isn’t set up, no music is added, and the dog doesn’t know it’s being filmed. Yet up to then, the prompts had said “cinema camera, shallow depth of field, film grain.” I had been asking for the opposite of the concept.</p><h3>The paths that got through, and the dead ends</h3><p>Lined up, the 8 days of trials fall into 6 stages.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IdwSC89sJbb4KRIZ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*cd-h_5xzNeRafJC0.png" /></figure><p>What finally got through was the form with the fewest moves. No 3DCG, no motion specs; only “which dog, where, and what happens.”</p><h3>Three things that worked the opposite way</h3><p>Looking back, three things worked against intuition.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*0HpL4IFm1IZh2OWf.png" /></figure><p>Most of the places where things broke were also on the input side. The front legs broke because of how the subject was chosen, “the ear shape changes” was a misjudgment, and position drift came from how references were passed. What I gave it changed the result more than which model I used.</p><h3>How the work split between people and AI</h3><p>Again and again, it was the owner who changed direction. When the assistant was about to give the dog’s 3D model a precise skeleton, the owner said, “I feel like it’d be better to make the dog’s depiction more abstract.” It was also the owner who chose the form that passes only the character and the concept. On the other hand, the assistant once repeated a failure without looking up the one already on record. It picked again the model that ranked last in the records “because it’s the cheapest,” and spent $0.75.</p><p>Judging had its limits too. When the AI judged 5 still images, it falsely flagged moving body parts as “changed shape.” An abnormal gait (both front legs stepping out at once) could only be caught by human eyes.</p><h3>How much it cost</h3><p>Counting only what’s on record, it took about $9 to get to 30 seconds (Part 7). But that figure doesn’t capture everything. The balance on the video generation service went from $21.42 on 9/5 to $9.39 on 9/9, a drop of about $12 in 4 days.</p><p>I also worked out the unit cost of keeping it going. Even with the cheapest pay-per-use model, 3 minutes costs about $9. At 30 videos a month, that’s several hundred dollars every month. I haven’t yet found a way to get one video under $1.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*g04tX4QFdVXfYoqu.png" /></figure><h3>What it hasn’t reached yet</h3><p>30 seconds got through, but I haven’t yet checked whether the dog’s appearance drifts at 3 minutes (12 shots). Sound, image quality on a local GPU, and a full review of commercial-use rights are also left.</p><p>If you’re making animal videos with AI, decide the concept in one sentence first, and check that your instructions don’t ask for the opposite. And when things aren’t working, try cutting instructions before adding more.</p><h3>The parts of the series</h3><p>Part 1, and a post summarizing Parts 2 through 7, are published (links at the end). From Part 8 on, I’m splitting them by theme into 4 roundups and publishing one every Saturday. The first one covers the 5 parts where I asked video generation models to do the work (Parts 8 to 12).</p><blockquote><strong><em>🔑 The specifics (the full breakdown, numbers and fixes) are in this post.</em></strong><em><br>This one only covers the overview. 👇</em></blockquote><p>👉 <a href="https://medium.com/@claire_ai/series-recap-2-making-ai-animal-videos-asking-video-generation-models-parts-8-12-3125d8d74a8b">Series recap 2: making AI animal videos, asking video generation models (Parts 8–12)</a></p><p>👉 <a href="https://medium.com/@claire_ai/i-gave-the-same-image-to-3-ai-video-models-and-they-all-broke-in-the-same-place-1474cce181df">Series Part 1: I gave the same image to 3 AI video models, and they all broke in the same place</a></p><p>👉 <a href="https://medium.com/@claire_ai/a-series-recap-making-a-30-second-ai-animal-video-failures-and-numbers-from-parts-2-7-5779b99d3c8e">A Series Recap: Making a 30-Second AI Animal Video — Failures and Numbers from Parts 2–7</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=29ded6942771" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Series recap 2: making AI animal videos, asking video generation models (Parts 8–12)]]></title>
            <link>https://medium.com/@claire_ai/series-recap-2-making-ai-animal-videos-asking-video-generation-models-parts-8-12-3125d8d74a8b?source=rss-a3dc0e7e8044------2</link>
            <guid isPermaLink="false">https://medium.com/p/3125d8d74a8b</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[video-production]]></category>
            <category><![CDATA[dogs]]></category>
            <dc:creator><![CDATA[Claire]]></dc:creator>
            <pubDate>Sat, 21 Nov 2026 07:33:27 GMT</pubDate>
            <atom:updated>2026-11-21T07:33:27.534Z</atom:updated>
            <content:encoded><![CDATA[<p>Series recap 2: making AI animal videos, asking video generation models (Parts 8–12)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*bjHArvTiZlFq4HNs.png" /></figure><p>This is a record of trying to make videos of the everyday lives of dogs and cats that look like real footage, using AI. Part 1 and the recap of Parts 2 to 7 covered everything up to the first 30 seconds that passed. This second recap collects five scenes from along the way where I asked video generation models for help, one part each. This post was written with AI assistance.</p><p>Every part centers on what actually happened and the numbers at the time: four cuts that matched as images became jump cuts as a video, and $1.72 went to waste; a model asked for 32 seconds returned 65 seconds, twice the bill, and 11 seams a machine could find; only one model I looked at could place four images at set times inside 15 seconds; given only the characters and the concept, the whole story from waking up to eating was over in 15 seconds; and four clips made on a local GPU and a paid model ($0.21 for 10 seconds) never once showed the motion I asked for.</p><p>It’s for people trying to make animal videos with AI, or unsure which video generation model to pick and what to hand it. Dates and numbers are as of when each part was written (September 2026).</p><p>Parts in this recap:</p><ul><li>Part 8: I made four AI shots of a dog and a cat. They matched as images, but as video they became jump cuts. $1.72 taught me: don’t skip the storyboard</li><li>Part 9: I asked a long-video model for 32 seconds and got 65 seconds, a bill twice the estimate, and 11 seams a machine could find. I also ran it myself on an A100</li><li>Part 10: I wanted to place 4 images at 0, 5, 10, and 15 seconds in a 15-second video. Of the models I checked, only Vidu could place them with timestamps, and it couldn’t take a 3DCG guide video</li><li>Part 11: I gave an AI only a character and a concept and had it make 15 seconds of a dog. Waking up to eating finished in 15 seconds, and there was nothing left for the next cut</li><li>Part 12: On a local GPU I stretched a dog video from 2 to 4 to 10 seconds, and also made a 10-second clip with a paid model for $0.21. All 4 “ran,” but not one showed the motion I asked for</li></ul><h3>What this post covers</h3><ul><li>Why cuts that matched as images looked like they jumped once joined as video, and the step that should not have been skipped</li><li>What the bills and seams actually looked like with a model that makes long videos in one pass, and one that places images at set times</li><li>What happened to the motion I asked for when I handed over only characters and a concept, and when I made clips on a local GPU</li></ul><h3>Part 8: I made four AI shots of a dog and a cat. They matched as images, but as video they became jump cuts. $1.72 taught me: don’t skip the storyboard</h3><p>I am trying to use AI to make a video that looks like live-action footage of a dog and a cat in their everyday life. On 2026–09–06, I made the first 20 seconds. A dog is relaxing, a cat comes in, the two are together, the cat leaves, and the dog rests again. I made four shots of 5 seconds each and joined them into 20 seconds.</p><p>At the image stage, the room, the dog, the collar, and the light all matched across the four images. But once they became video and were joined, the picture seemed to jump every time the shot changed. In film terms, this kind of edit is called a jump cut. The video and sound cost $1.72, and those 20 seconds were unusable.</p><p>This post covers what I matched in the images, what happened once they became video, how I diagnosed the cause, and what I changed next. It is for people trying to make AI videos that join several shots.</p><h4>Text alone did not give the same room</h4><p>At first, I made each of the four shots as an image from text. Every prompt said “the same room.”</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*mnBv89m_DuinF-vT.png" /></figure><p>Even with “the same room” written in the same text, it became a different house every time. That does not look like a record of everyday life.</p><p>On the other hand, what I had worried about did not happen. My research beforehand said that interactions between multiple animals are a weak point, but in the images neither animal’s legs or body broke down, and the two looked at each other naturally.</p><h4>Editing one reference image made them match</h4><p>I changed the method. I made one reference image that fixed the room and the dog, and made each shot by editing it. In the editing prompt, I wrote everything that should not change first, and put only what should change at the end.</p><pre>Keep the room exactly as it is - the same window on the left, the same beige sofa,<br>the same wooden floor, the same cream rug, the same plants, the same lighting and<br>camera angle. Change ONLY the dog: ...<br>Everything else must remain completely unchanged.</pre><p>The window, plants, shelf, sofa, rug, floor, the way the light came in, the dog’s pose, and even the collar all stayed the same, and only the cat entered from the right. Image generation ran within a subscription’s allowance, so the cost up to this point was $0.</p><pre>1. Make one reference image (fix the room and the main subject)<br>2. Make each shot by editing (write what stays, add only what changes)<br>3. Turn each image into video</pre><p>At this point, I thought the method was settled.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*xbaVEYQxOEB1S-pa.png" /></figure><h4>Joined as video, it became jump cuts</h4><p>I turned the four images into 5-second videos with the video generation model Kling v3 ($1.68 for four). For sound, I ran one generation that lets you specify sound effects and BGM separately, over the 20 seconds made by joining the four. The total was $1.72.</p><p>This is how the owner reacted after watching the joined 20 seconds.</p><blockquote><em>The sound and the picture are both no good The scenes switch way too suddenly, it just feels wrong The sound doesn’t match either</em></blockquote><h4>The cause: all four shots had the same framing</h4><p>Looking back, all four shots were “wide shot from floor level,” with the same camera position and the same framing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-9XshoiHphu1jVbh.png" /></figure><p>When the camera stays put and only the subject’s position or pose jumps, viewers take it as a failed edit. In live-action editing, there is a guideline that the same thing happens unless you move the camera by 30 degrees or more (the 30-degree rule).</p><p>The motion did not continue either. At the end of shot 1 the dog is looking right, but at the start of shot 2 it was back in a lying pose. The pose at the end of one shot did not match the pose at the start of the next.</p><p>The sound did not match either. Because I made the whole 20 seconds in one pass, the sound had nothing to do with the motion in each shot. When the cat is walking, no footsteps come.</p><p>At the image stage, I was satisfied after checking that “the room is the same,” and never once looked at whether the four images “work as a shot breakdown.” In other words, I had started making it without drawing a storyboard. My own knowledge base even said, “If you start generating without a storyboard, the cost jumps with every fix,” and I skipped it anyway.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AQLGrTl3BpyhMkq1.png" /></figure><h4>Most of the $1.72 was the cost of skipping the storyboard</h4><p>The owner doubted the joining approach itself.</p><blockquote><em>Nah, I think joining these just isn’t going to work. Tuning it will end up costing a ton of money</em></blockquote><p>I half agreed. Three minutes is 9 times the length of 20 seconds, but it gets harder as the number of joins grows, so it would not stop at 9 times.</p><p>On the other hand, the breakdown of that day’s cost said something else too.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AQid8l8nR4InfROr.png" /></figure><p>Composition problems can be removed for $0 at the image stage. If I had checked whether the shots worked as a breakdown when I made the four images, I would not have spent the $1.68 on video. Most of the $1.72 was not the cost of joining itself, but the cost of skipping the storyboard.</p><p>That said, there is no guarantee that refining the images will always make the shots join. You cannot tell from an image how it will move once it becomes video.</p><h4>What I changed next</h4><p>I summed up the fixes in three points.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*ICEIkdieRn4-G413.png" /></figure><p>The owner suggested, “If we do it, we should specify the start and end frames.” When I checked, Kling v3 has a setting that accepts both a start image and an end image (end_image_url). If shot 1 is &quot;start A → end B&quot; and shot 2 is &quot;start B → end C,&quot; the frames at the joins match. But when I consulted another AI, it pointed out that relying only on this hand-off lets drift in color and shape build up.</p><p>And after this, the approach changed many times. I tried a model that makes a long video in one pass, went down the path of conveying motion with 3DCG, and finally 30 seconds passed with the form “pass only the characters and the flow of the story, and join with the last frame.” That story is in other parts of this series.</p><h4>What I learned this time</h4><p>What images can make consistent are the things that “should stay the same,” like the room, the individual animals, and the light. A shot breakdown is a separate task of deciding what should change, and it does not work just because the things that should stay the same are consistent.</p><p>If you are making an AI video that joins several shots, before turning it into video, line up the images and check once whether they “work as a shot breakdown.” That check costs $0.</p><h3>Part 9: I asked a long-video model for 32 seconds and got 65 seconds, a bill twice the estimate, and 11 seams a machine could find. I also ran it myself on an A100</h3><p>I want to use AI to make 1-to-3-minute photorealistic videos of the daily life of a dog and a cat. On 2026–09–06, I joined four 5-second cuts, and the picture jumped at the seams (the previous installment). If joining cuts creates seams, then I should use a model that makes a long video in one go. With that in mind, I tried LongCat-Video.</p><p>The first run was on fal.ai, which sells video generation through an API. I asked for 32 seconds and got 64.93 seconds back. The bill came to twice the estimate, and generation took about 1 hour 5 minutes. The owner’s verdict was this:</p><blockquote><em>The seams, or rather the motion, is off, the picture is off, and there’s no cat. Nothing but problems</em></blockquote><p>For the second run, I rented an A100 on RunPod, where you can rent GPUs by the hour, and ran the official implementation myself. This post covers why I had hopes for a long-video model, what the two runs showed, and where I gave up. It is for people trying to make a long video with AI in one go.</p><h4>Why I had hopes for a long-video model</h4><p>An ordinary video generation model makes all the frames at once. The longer the video, the more memory it needs, and beyond the number of frames it was trained on, quality is not guaranteed. One run gives you a few seconds to about 15 seconds.</p><p>LongCat-Video works differently. It makes 93 frames at a time and passes the last 13 frames to the next step to continue. Unlike joining clips by handing over a single still image, 13 frames also carry the speed and direction of motion forward. The problem of motion breaking at the seams was supposed to disappear here.</p><p>Comparing by the number of seams in a 3-minute video:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6WlPiidYc57hw5gX.png" /></figure><p>However, the official evaluation had only been done on 3-second videos. Nobody had shown whether quality holds at 32 seconds.</p><h4>I asked fal, and 65 seconds came out</h4><p>On fal’s fal-ai/longcat-video/image-to-video/720p (standard version), I passed a starting image showing only the dog and asked for 961 frames (32 seconds).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UC9U4PMR1D0OYkWo.png" /></figure><p>It seems to have doubled the frames internally (interpolation). Getting twice the length was nice, but so was getting twice the bill. 64.933 seconds × $0.04 is exactly $2.597, so billing was set by “seconds delivered,” not “frames requested.” I had spent twice the amount that had been approved. There was no way to know this in advance, so from then on I estimate at 2x.</p><p>It also took time. About 40 minutes to make the 11 segments, then 23.5 minutes for a quality-raising step (refinement), about 1 hour 5 minutes in total. In my report at the time I added it up wrong and wrote “about 1 hour 20 minutes,” but by the clock from submission to completion it was also about 63 minutes. Just over an hour for 65 seconds means a 3-minute video would take just over 3 hours.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FQcrTzxebIsM_bTS.png" /></figure><h4>A machine found 11 seams</h4><p>In a video that should have no seams, I had a machine count the places where the difference between consecutive frames suddenly jumps. Eleven places stood out, matching the number of internal segments (11).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TD7sYmnrKLdrzGU3.png" /></figure><p>By ratio, the spikes were larger than in the video that broke down worst that day. But the absolute differences were small, and whether you can see them is another matter. That day I had decided “not to decide by machine numbers alone,” so I had the owner look. The answer was the line quoted at the start: before the seams, the motion and the picture were off. The missing cat was because I had passed a dog-only starting image to check the technology, and I had not explained that.</p><h4>I rented an A100 and ran the official implementation myself</h4><p>What happens inside fal is unknown. Twice the requested frames came out, and a 23.5-minute step ran on its own. There was no way to confirm whether it matched the long-video procedure the official project recommends. So I rented an A100 (80GB, $1.39 an hour) on RunPod and ran the official implementation.</p><p>Reading the official implementation, some things differed from fal’s description.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*L4P7QjMsWNtFI3Bt.png" /></figure><p>While setting up the environment, I hit six traps.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*WpfYz2aNuUDfqV0f.png" /></figure><h4>The math came to 9 hours for 3 minutes</h4><p>At 480p, one segment took about 16.5 minutes (19.8 seconds per step × 50 steps). Working from that:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*brQE98Vll0AIS31x.png" /></figure><p>This is only the time for the rough stage. The quality-raising step takes extra time.</p><p>An article I had read beforehand said “3 minutes in 12 to 18 minutes on an A100.” That is a difference of more than 30x. After the owner pointed out “that’s way too big a gap,” I looked again, and I think the main cause is that the speed-up component was not installed (trap 2). I stopped for the day once I found that downgrading torch to 2.6.0 would let a prebuilt component install. I have not installed it and measured again. The RunPod cost was $1.27.</p><h4>Before speed, the picture was the problem</h4><p>The owner’s verdict on the 480p video made on the A100 was this:</p><blockquote><em>Hmm, the motion was slow, and it’s not realistic, it looks like a painting</em></blockquote><p>The 720p video made on fal at midday (which also went through the quality-raising step) got the same verdict, so I judged that raising the settings would likely not change the conclusion.</p><p>Looking into it again, the structure became clear. The models that rank high on photorealism can all output only short videos. The models that can output long videos do not appear on the photorealism rankings at all.</p><pre>[Top in photorealism]       [Can output long videos]<br>  MiniMax H3  15 s            LongCat      minutes   &lt;- looks painted<br>  Kling v3    15 s            SkyReels-V2  no limit  &lt;- untested<br>  Veo 3.1      8 s            FramePack    60 s      &lt;- untested</pre><p>As of that day, no model was in both groups. Renting a GPU to make it faster and cheaper does not change the model’s quality. That day I spent $7.50 on fal and $1.27 on RunPod, $8.77 in total.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SJva0nJjI0d16kGS.png" /></figure><h4>What this installment showed</h4><p>A model that makes a long video in one go did not remove the seam problem. It only carried it inside and hid it. And going for length cost photorealism.</p><p>When you test through an API, first check what billing is based on (the amount requested or the amount delivered), and take your estimate at 2x. If you rent a GPU and run it yourself, and the speed numbers differ from an article by an order of magnitude, first suspect whether the speed-up component is installed.</p><p>After this, I set aside the path of making a long video in one go and turned to using 3DCG to convey motion. I will write about that in a later installment.</p><h3>Part 10: I wanted to place 4 images at 0, 5, 10, and 15 seconds in a 15-second video. Of the models I checked, only Vidu could place them with timestamps, and it couldn’t take a 3DCG guide video</h3><p>I am trying to make a photorealistic dog video with AI. On the night of 2026–09–09 (around 23:00 Japan time), the owner asked to decide several in-between images for each 15-second video and hand them over.</p><blockquote><em>When making a 3-minute video by joining 15-second clips, I think I want to prepare at least 3 images per video (15 seconds) (ideally 4, at 0, 5, 10, and 15) For something like 8 seconds, 3 images at 0, 4, and 8</em></blockquote><p>Looking into it, among the models I checked, only Vidu Q2 supported this setup as specified. But Vidu had no field for passing a 3DCG guide video. The owner chose to keep 3DCG, and we moved on without trying Vidu.</p><p>This post covers how each model accepts in-between images, why Vidu was not chosen, and what happened afterward. It is for people who want to specify in-between images with timestamps in a video generation AI.</p><h4>Most models stopped at “a start and an end image”</h4><p>I checked each model’s API documentation to see whether in-between images could be placed at specific seconds. During this fact-check, Codex (OpenAI’s AI) caught things the research agent had missed.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SML6HnPHYovxJIN_.png" /></figure><p>Vidu’s format was a start image (start_image) followed by image_settings[], which lists an image (key_image), the segment&#39;s seconds (duration), and a prompt. The order you enter them is the order in time. Segments can be set from 2 to 7 seconds, so 3 segments of 5 seconds give &quot;4 images at 0, 5, 10, and 15 seconds&quot; directly.</p><p>Codex made three corrections to this table.</p><ul><li>“Seedance and Kling take only 2 images” overstated it. The accurate version is “the APIs I checked have no input for fixing in-between images to a time.” Seedance 2.5 in particular is described officially as supporting time-specified generation, so stating it flatly is risky</li><li>The price for Luma at 10 seconds was not confirmed. fal’s pricing section and its API documentation disagreed</li><li>Runway Gen-3’s 3-image support had been discontinued on 2026–07–30</li></ul><p>There was one more warning, the most important one. “There is an input to specify it” and “the output follows the specified images” are different things, and everything up to this point came only from reading specs. I found no one who had actually generated videos and measured how closely the image positions matched.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Z7BpDaWtr5_yzRMx.png" /></figure><h4>Vidu had no way to take 3DCG</h4><p>At the time, the main approach was to pass a 3DCG video made in Blender to the video generation AI to set the camera and the rough motion. Reading Vidu’s spec on the official site, that input did not exist.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zQ-MAJc4KD-svLjK.png" /></figure><p>Either way, one side was missing.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*UkHKh4BWxJvDgb1W.png" /></figure><p>The assistant judged that placing in-between images densely could cover most of what 3DCG did. Placing 8 images in 15 seconds would fix the pose about every 2 seconds. What could not be replaced was camera motion: between images, motion is interpolated, so “the dog moves while the camera moves” would be hard to make with Vidu.</p><p>On that basis, it proposed three options. The estimate for 3 minutes was $8.60 with Vidu turbo at 720p and $11.70 with pro. Staying with Seedance or Kling and joining 5-second clips 3 at a time came to $1.70 with Kling v3 and $4.60 with Seedance at 720p. However, Vidu’s pricing is tiered, “so many credits for the first few seconds, then so many credits per second after that,” and the wording could not be read only one way, so these numbers were not certain. There was also no Vidu key on hand; using it would mean creating an account and registering a card. The assistant cannot do that.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YjmACA4eJ_TzUeHL.png" /></figure><h4>The owner chose to keep 3DCG</h4><p>The owner’s answer was this.</p><blockquote><em>Hmm, there are a lot of cases where I make all these accounts and top up and it doesn’t work, so I want to be careful I think we should use 3DCG On top of that, can’t we pass a lot of images?? Are there limits like that when passing them through the API?</em></blockquote><p>Looking again, no account or top-up was needed. With the fal key already in use, many images could be passed. The “2 images” limit applied to images placed at specific seconds; reference images passed as a visual model were a separate slot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Mu1MSlrbp505nkYM.png" /></figure><p>The only thing not possible was specifying a time, as in “put this image at 5 seconds.” The idea was to fill that gap with a division of roles: the 3DCG video sets the timeline, and the reference images set the look. With Kling, multi_prompt could also divide time in words, as in &quot;0 to 5 seconds is like this.&quot; But whether passing 9 images actually worked had not been tested at this point. The previous day&#39;s test went up to 3 images.</p><h4>Afterward: the in-between images were made, and 3DCG was dropped</h4><p>The in-between images were made the next morning (09–10). Seven images, one every 5 seconds from 0 to 30 seconds. Two 15-second clips share the image at the seam, so 4 + 3 makes 7. In the first round, the room and the dog were consistent across all 7, but the dog’s left-right position and distance from the camera varied. The owner pointed at something else.</p><blockquote><em>More than that, the position of the rug is clearly off throughout Sometimes it’s on top of it and sometimes it isn’t</em></blockquote><p>After redoing them, the bowl’s position was nearly consistent. Only in the 30-second image did the bowl appear to be on the rug.</p><p>But that night, when a 30-second video passed for the first time, one of the three things that made it work was dropping the 3DCG guide video (Part 4). “Use 3DCG,” the reason for not choosing Vidu, stopped holding within that same day. Even so, in the report records, Vidu’s name does not come up after this exchange on 9/9. How closely Vidu can match “4 images at 0, 5, 10, and 15 seconds” remains unverified.</p><h4>What this episode showed</h4><p>“How many in-between images can I pass” mixed two separate questions: how many can be passed as a visual model (reference images), and how many can be placed at specific seconds (keyframes). For the former, Seedance accepted up to 9. For the latter, among the models I checked, only a few such as Vidu could, and Vidu was not compatible with 3DCG.</p><p>When you want to pass in-between images to a video generation AI, first decide whether each image is “a visual model” or “the pose you want at that time,” and check it against the API’s field names. And if the reason you rejected an approach disappears later, put that approach back on the list to retry. In this episode, it was never put back.</p><h3>Part 11: I gave an AI only a character and a concept and had it make 15 seconds of a dog. Waking up to eating finished in 15 seconds, and there was nothing left for the next cut</h3><p>I’m trying to make photorealistic dog videos with AI. On the night of 2026–09–10 (around 21:50 Japan time), after two days in which not a single clip came out right, the owner said this.</p><blockquote><em>No, it’s not working even at the cut stage, so I’m looking for another way Maybe the pattern where it makes things freely is better Give it just the character and concept and have it make cut 1 in Kling as 15 seconds</em></blockquote><p>The 15 seconds that came out moved better than anything else that day. In exchange, the story meant to take 30 seconds ran all the way to the end within 15.</p><p>This post covers the four options lined up before this approach was chosen, and what worked and what didn’t in the first 15 seconds. The steps up to the finished 30 seconds were covered in Part 4, so here I deal with the decisions before that, and with the part of the owner’s plan that was not carried out. It is for people torn between giving a video generation AI detailed instructions and leaving it to the AI.</p><h4>There were four ways to convey the motion</h4><p>About an hour earlier, watching the bowl’s position keep drifting, the owner had listed four options.</p><blockquote><em>There are 4 methods I’m thinking of now • Make it a flipbook • Give only the character and concept (story) and let it make things freely. From the second one on, have it make them based on the first video and the concept • Make a 2D animation and have it use that as reference • Model it on an existing video</em></blockquote><p>The assistant laid out the four based on that day’s measurements and research.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*YzRR4KJ-mLTG537d.png" /></figure><p>The assistant recommended trying ④ first. With one free stock video of a dog walking and $0.5 to $1, it would show whether it works. What the owner sent was a short video of a cat.</p><blockquote><em>Can you model this? It’s turned into a cat, though</em></blockquote><p>The assistant replied that it was technically possible, but conditions like length (references up to 30 seconds; this video was 34) didn’t fit, and using a video someone else posted as the source of motion for a video you publish is risky. The copyright of the original video and the rights of the owner of the cat in it are involved.</p><p>The owner rephrased it from another angle.</p><blockquote><em>Whatever the event, in the end what matters is whether it can be made into a video without the motion looking wrong And that’s where I keep stumbling A video that doesn’t move is out of the question, and the event itself can be anything But in the end I’m struggling because not even one video of anything has come out right</em></blockquote><p>And chose ②. The notes listed the order of cheapest to test as ④ → ② → ① → ③, but the owner started with ②, the one with the least effort.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*oJADIL6LWrc2l2C5.png" /></figure><h4>All I passed was one start image and a synopsis</h4><p>Here is what changed from before.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*D1qe7FKhdm9rEMvV.png" /></figure><p>The way of writing the motion also changed, from “move like this” to wording that leaves it to the dog.</p><pre>Let this unfold naturally and at its own pace — the dog can stretch, yawn,<br>shake itself off, sniff the air, take its time.<br>Real dogs do not move in a straight efficient line.</pre><p>The model was Kling v3 (fal-ai/kling-video/v3/standard/image-to-video), at $1.26 for 15 seconds.</p><h4>In 15 seconds, the story ran to the end</h4><p>The 15 seconds that came out held together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9J9OSQioof9bdhR1.png" /></figure><p>This was the first time a single video held together from start to finish. But the camera moved a lot. It started wide, moved in partway through, and followed the dog. The assistant’s read was that Kling took “slight natural handheld movement” in the prompt as a camera that follows the dog.</p><p>The owner’s reaction was this:</p><blockquote><em>Maybe something like this is fine But there’s no food in it And since it goes all the way to the end in 15 seconds, if I want 30 seconds there’s no next cut left</em></blockquote><p>Both causes were on the side that gave the instructions.</p><p>The first was that the story ended in 15 seconds. The whole synopsis for 30 seconds was passed, so the AI finished the story within 15 seconds. Acting out the given story to the end was the natural thing to do.</p><p>The second was that there was no food. The bowl wasn’t in the start image. The prompt only said “eats,” and never said a word about what was in the bowl. The AI produced the bowl on its own and left it empty.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*z6rugltrSrWS2o9h.png" /></figure><h4>The remake passed only the first half</h4><p>The first clip was remade. The synopsis was limited to the first half (sleeping → the sound of a bowl being set down → opening its eyes → standing up and stretching) and cut off with THE CLIP ENDS THERE. For the bowl, it said &quot;full of dry food.&quot; The template for this way of writing is in Part 4.</p><p>In the remade 15 seconds, a hand set the bowl on the floor and pulled away, and the bowl had brown food in it. The dog woke, sat, stood, and walked around on the rug, but did not go to the bowl. The camera barely moved either. Adding a second clip made one 30-second video.</p><h4>The second half of the owner’s plan went unused, and it still worked</h4><p>The owner’s ② had a second half: “From the second one on, have it make them based on the first video and the concept.” That meant passing the first video itself to the second.</p><p>What was actually passed to the second clip was only one frame, the last frame of the first clip. The assistant had said it would also pass the first video as a reference, but didn’t. In Kling, passing a start image together with a reference video (elements) had already been rejected 4 times that day with Multiple character or objects were detected. Only one or the other can be chosen.</p><p>The result: with only the last frame, the second clip continued the first, and the dog, room, bowl, and collar stayed the same across all 30 seconds. For these two clips, passing the video wasn’t needed. Whether that holds when 12 clips are joined has not been checked yet.</p><p>When deciding on the remake, the owner wrote this:</p><blockquote><em>How concrete to make the concept is a question for later For now I want to judge whether a long video can be made at all</em></blockquote><p>① flipbook, ③ 2D animation, and ④ tracing an existing video remain untried in the records.</p><h4>What this episode showed</h4><p>Passing only the character and concept made the motion natural. In exchange, the AI tries to act out the entire story it is given within that one clip. With detailed instructions, I was stuck on “it doesn’t move as instructed”; after leaving it to the AI, the problem changed to “it pushes the story too far ahead.”</p><p>If you try the leave-it-to-the-AI approach, pass only what happens in that clip. If the story continues, either don’t pass the rest, or write “that happens later.” And for anything not in the image (in this episode, what was in the bowl), the AI decides on its own unless the prompt says it.</p><h3>Part 12: On a local GPU I stretched a dog video from 2 to 4 to 10 seconds, and also made a 10-second clip with a paid model for $0.21. All 4 “ran,” but not one showed the motion I asked for</h3><p>I am trying to make realistic, live-action-looking dog videos with AI. On 2026–09–12, I ran a publicly available video generation model (LTX-Video 0.9.1) on a Windows GPU machine at home (RTX 2070, 8GB of dedicated memory) and made short dog videos. That day, the work was done in the Codex app instead of Claude Code, because the owner asked: “It stalled through the terminal, so carry on over here.”</p><p>I stretched the length from 2 seconds to 4 seconds to 10 seconds, and finally made one 10-second clip with a paid model (Seedance 1.0 Pro Fast) as well. All 4 generations finished normally. But the motion I asked for (the dog standing up, the dog owner’s hand putting food in) did not appear in a single one.</p><p>This post covers how the 4 clips were made and their numbers, where things went wrong, and the difference I decided to treat separately that day: “did it run” versus “did the content come out.” It is for people trying video generation on their own GPU.</p><h4>2 seconds: failed twice, passed on the third try</h4><p>First, at 448×320 and 49 frames (about 2 seconds), I asked for a sleeping dog standing up. To free up dedicated memory, I turned on a setting that moves unused parts out to main memory (enable_model_cpu_offload). I set it not to fetch models from the internet, and did not install any new models or libraries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tvW9hmJlmJ6wnF7y.png" /></figure><p>Comparing frames 0, 12, 24, 36, and 48 of the finished 2 seconds, the dog stayed lying down. It did not stand up.</p><h4>4 seconds: gained length, lowered resolution</h4><p>Next I went to 384×288 and 97 frames (about 4 seconds). To get more length while leaving memory headroom, I lowered the resolution. It finished normally, taking 156.34 seconds for generation and saving.</p><p>Comparing 5 frames, the dog stayed in its sleeping pose while its position and shape changed. Again, it did not stand up. At both 2 and 4 seconds, the motion I asked for could not be reproduced. I couldn’t say the cause was only the short length, because I had also changed the resolution for memory reasons.</p><h4>10 seconds: not enough memory, so I split the computation</h4><p>Last, following the owner’s instruction, I split a 30-second story into three 10-second parts and made the first 10 seconds. The scene: the dog owner’s hand and sleeve enter from the right, put food in the bowl, and the dog raises its head to watch. I asked for 384×288 and 241 frames.</p><p>Computed normally, GPU memory stuck at 7,991MiB and the first iteration made no progress for several minutes. I newly wrote a version of the part that computes the correspondences within the video (attention) that splits it into groups of 4 and computes them in turn. I did not modify the library; I swapped it in only within that run. After confirming on a small input that it gave the same result as the original computation, I used it, and the first iteration took only 21.3 seconds.</p><p>Generation and saving took 639.40 seconds and finished normally. But peak memory used during computation was 14.2GiB, more than the 8GiB of dedicated memory. This was not a result of making it comfortably on an 8GB GPU.</p><p>Pulling out 10 frames, one per second, neither the dog owner’s hand nor the bowl nor the preparing motion appeared. The dog’s shape and position also changed unnaturally. I failed it as the first scene. Making the clip 10 seconds long did not solve either reproducing the story or the shape breaking down.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2KdvrNrcm2amZ-bn.png" /></figure><h4>One 10-second clip with a paid model too</h4><p>The same day, following the owner’s instruction to aim for about $1 per clip while leaning toward higher quality, I made an estimate for a paid model (fal.ai’s Seedance 1.0 Pro Fast). The price is $1 per 1 million “video tokens,” counted as output width × height × frames ÷ 1024. At 1280×720 and 24 frames per second, 10 seconds comes to about $0.22.</p><p>The owner approved one run of about $0.22 and answered that auto-recharge was off. After checking the balance, I sent it exactly once. A video of 1248×704, 241 frames, about 10 seconds came back. The difference in balance was $0.206778, matching the amount calculated with the official formula.</p><p>Compared with the local model, the dog, hand, and bowl showed up clearly. But the dog’s appearance and the composition changed, and the preparing motion did not appear. This one also did not pass as the first scene.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hBhqpWdDp8vGzI4H.png" /></figure><h4>Separating “it ran” from “it worked”</h4><p>The record from that day says this: separate the run succeeding from the content succeeding. All 4 finished without errors and produced videos of the decided length and size. Looking only at that, they “worked.” But the motion I asked for did not appear in a single one.</p><p>At the end of that day, as next steps, I wrote: before stretching the length, check one at a time whether the dog is too small in the starting image, whether the prompt can be simplified, the number of iterations, and how the image is fed in. Joining short clips into longer ones comes after that.</p><h4>What this episode showed</h4><p>When you run video generation on a local GPU, getting it to “run” at all takes effort first. It crashed over memory placement and where random numbers were made, and I got it through by splitting the computation. Once past that, it’s easy to be satisfied that it “ran.”</p><p>If you try video generation, check separately from whether it finished normally whether the motion you asked for appeared, by pulling out frames and comparing them. And when you try a paid model, make an estimate for one run first, get approval, send it exactly once, and check the difference in balance against the official formula.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3125d8d74a8b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I post BGM videos made with AI music and images almost every day.]]></title>
            <link>https://medium.com/@claire_ai/i-post-bgm-videos-made-with-ai-music-and-images-almost-every-day-dbce847cbc68?source=rss-a3dc0e7e8044------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbce847cbc68</guid>
            <category><![CDATA[content-creation]]></category>
            <category><![CDATA[side-hustle]]></category>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Claire]]></dc:creator>
            <pubDate>Fri, 20 Nov 2026 11:18:02 GMT</pubDate>
            <atom:updated>2026-11-20T11:18:02.417Z</atom:updated>
            <content:encoded><![CDATA[<p>I post BGM videos made with AI music and images almost every day. Then I was told mass production might not be monetizable</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*K-bogryqf8RxyKoh.png" /></figure><p>I post BGM videos made with AI-generated music and images almost every day. The music, the images and the video assembly are all automated, and the setup posts one long video plus Shorts each day. This post was written with AI assistance.</p><blockquote><strong><em>🔑 The specifics (the full breakdown, numbers and fixes) are in this post.</em></strong><em><br>This one only covers the overview. 👇</em></blockquote><p>👉 <a href="https://medium.com/@claire_ai/is-it-risky-to-post-bgm-videos-made-with-ai-music-and-images-almost-every-day-607b57e37124">Is it risky to post BGM videos made with AI music and images almost every day? I judged it risky from the policy text alone, then real cases changed my mind</a></p><h3>The problem: I was told that mass-producing the same shape might not be monetizable</h3><p>On 2026–08–27, I had another AI review this setup, and it pointed out that mass-producing videos of the same shape might make them ineligible for monetization.</p><p>YouTube’s spam policy has an item about using automated tools or AI to post large amounts of similar content, and an example close to my setup was listed there. The monetization policy also changed its wording in 2025, and content that gives an impression of AI mass production became an example of what cannot be monetized. Looking only at the policy text, I first judged it “risky.”</p><h3>What I wanted: to know where the line was</h3><p>If it was risky, I would need to change the structure. But the policy did not say how many counts as “mass.” I could not tell how far I could keep going, or where penalties start.</p><p>Numbers like “3 or more uploads a day gets targeted” were going around online too. I did not want to change the structure based only on policy wording and numbers floating around. I wanted to decide based on something with evidence behind it.</p><h3>What I set out to do: put the policy text next to real penalized cases</h3><p>I compared the example in the policy with my setup, point by point. Then I looked up channels that had actually been penalized and channels still going with AI music, to see what was different. I also counted how many videos large BGM channels and small AI channels post per day.</p><p>Where my setup matched the policy and where it did not. What the penalized channels were doing, and how they differed from the ones still going. The numbers I chose not to rely on, and what I decided in the end. That is all in the follow-up post.</p><blockquote><strong><em>🔑 The specifics (the full breakdown, numbers and fixes) are in this post.</em></strong><em><br>This one only covers the overview. 👇</em></blockquote><p>👉 <a href="https://medium.com/@claire_ai/is-it-risky-to-post-bgm-videos-made-with-ai-music-and-images-almost-every-day-607b57e37124">Is it risky to post BGM videos made with AI music and images almost every day? I judged it risky from the policy text alone, then real cases changed my mind</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbce847cbc68" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is it risky to post BGM videos made with AI music and images almost every day?]]></title>
            <link>https://medium.com/@claire_ai/is-it-risky-to-post-bgm-videos-made-with-ai-music-and-images-almost-every-day-607b57e37124?source=rss-a3dc0e7e8044------2</link>
            <guid isPermaLink="false">https://medium.com/p/607b57e37124</guid>
            <category><![CDATA[side-hustle]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[youtube]]></category>
            <category><![CDATA[content-creation]]></category>
            <dc:creator><![CDATA[Claire]]></dc:creator>
            <pubDate>Fri, 20 Nov 2026 11:16:05 GMT</pubDate>
            <atom:updated>2026-11-20T11:16:05.271Z</atom:updated>
            <content:encoded><![CDATA[<p>Is it risky to post BGM videos made with AI music and images almost every day? I judged it risky from the policy text alone, then real cases changed my mind</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*29Zd_EvTjswg6cVG.png" /></figure><p>I post BGM videos made with AI-generated music and images almost every day. On 2026–08–27, I had another AI review this setup, and it pointed out that mass-producing videos of the same shape might make them ineligible for monetization. When I read YouTube’s spam policy, a similar example was listed there. This post was written with AI assistance.</p><p>Looking only at the policy text, I first judged it “risky.” The same day, I looked up channels that had actually been penalized and channels that were still going, and my judgment changed.</p><p>This post covers both the policy text and the real cases, and what I decided from them. It is for people who keep posting AI-made content to YouTube and worry about the policies. My reading of the policies is based on the official documents as of 2026–08–27 and the cases I looked up at that time.</p><h3>What this post covers</h3><ul><li>Where my setup matched the example in the policy, and where it did not</li><li>What the penalized channels and the channels still going were each doing</li><li>The 3 numbers I chose not to rely on, and what I decided in the end</li></ul><h3>The policy text had a similar example</h3><p>YouTube’s spam policy has an item on “mass-produced content made with automation or synthesis.” It describes using automated tools or AI to post large amounts of similar content with almost no changes, and gives the example of “a channel that uses the same background music and repetitive AI-generated visuals across many videos, with an AI-generated script read aloud in each.”</p><p>Comparing it with my setup, two points matched: using AI-generated visuals across many videos, and a design that posts 3 a day with automated tools. A script read aloud did not match. As for the BGM, I change the song every time, but within one run the long video and the Shorts use the same song. My record at the time judged this “not the same BGM every time,” but the other AI also pointed out that different sections of the same song could still be seen as the same BGM.</p><p>The monetization policy also changed its wording on 2025–07–15, from “repetitious content” to “inauthentic content.” AI-generated work made from generic templates that gives an impression of mass production became an example of what cannot be monetized. On the allowed side, the description was that each video’s content must be substantially different.</p><p>“How many counts as mass?” was not stated in either of the 2 official documents I read (I re-read them on 2026–09–22 and it was the same).</p><h3>Real cases showed different reasons for penalties</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*AUZSkyVmVUaMx5WU.png" /></figure><p>The penalized example that made the news was a channel that used AI to make fake trailers for real films, mixed in real footage, and posted them before the official ones. It had over 2 million subscribers and was deleted in December 2025. There were also explainer channels that only swapped out the content over a standing character image, a fixed background and a synthetic voice; these had their monetization suspended or were deleted. In both, what stood out more than volume was deceiving viewers and videos that did not stand on their own. I searched, but found no named case of a sleep or work BGM channel being suspended.</p><p>On the other hand, being AI was not itself a reason for penalties. A composer published a block list of “AI music channels” (over 1,000 entries) in February 2025. When I checked the sleep BGM channels on it through the API on 2026–08–27, they were still going a year and a half later and had grown (one had 1.09 million subscribers). One channel opened in July 2025 passed 10,000 subscribers within a year.</p><p>When YouTube’s Creator Liaison announced the wording change (2025–07–08), they explained that it was not a crackdown on AI or reaction videos but a clarification of the existing policy, and that channels using AI remain eligible for monetization.</p><h3>I did not rely on numbers with no clear source</h3><p>Along the way, I found several numbers I could not use as evidence. “3 or more uploads a day gets targeted” appears in the same form on several Japanese blogs, but nothing in the official documents corresponds to it. “Over 40% of pure AI music channels fail monetization review” was an industry blog’s own view, with no basis given. “50 channels penalized in Q1 alone” had no traceable source. I used none of them.</p><h3>Apart from the policies, the number of uploads raised a question</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RhaakAGlH-d5VpI5.png" /></figure><p>The same day, I counted how many videos large BGM channels and small AI channels post per day. For long videos, both the large channels with over 10 million subscribers and a small channel stating it uses AI composition posted 1–2 a day. Two channels were posting 3 or more Shorts a day, but both had under 1,000 subscribers and had stopped posting. I do not know why they stopped (penalty, or they quit).</p><p>Still, what growing channels do not do is not proof that doing it stops growth. The numbers are small, and it is only a correlation.</p><h3>What I decided</h3><p>I found no policy reason to change the structure. I decided to keep the current setup. I made the number of Shorts changeable each time I give instructions (default 3, maximum 6).</p><p>If I reduce the number, it will not be as a policy measure, but to measure which number grows best.</p><h3>What is still open</h3><p>I have not yet looked at places where reports from penalized individuals tend to remain (Reddit and the YouTube Help community). I cannot tell whether “there are no examples of penalties” or “they just were not reported.” Whether a channel is monetized is not a field in the API, so I cannot check it for other channels from outside.</p><p>If you keep posting AI-made content and the policies worry you, after reading the policy text, try looking one by one at what the actually penalized channels were doing. The wording of the policy alone sometimes does not tell you where the line is.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=607b57e37124" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I wrote articles from my records of working with AI and fact-checked them.]]></title>
            <link>https://medium.com/@claire_ai/i-wrote-articles-from-my-records-of-working-with-ai-and-fact-checked-them-1d072a3371c2?source=rss-a3dc0e7e8044------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d072a3371c2</guid>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[documentation]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Claire]]></dc:creator>
            <pubDate>Thu, 19 Nov 2026 06:21:05 GMT</pubDate>
            <atom:updated>2026-11-19T06:21:05.277Z</atom:updated>
            <content:encoded><![CDATA[<h3>I wrote articles from my records of working with AI and fact-checked them. Before the articles, the records themselves were wrong</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lVmwSanwJ1GysXWu.png" /></figure><p>I keep records of the work I do with Claude Code in two places: notes in my Obsidian vault and comments in the code. So I do not repeat the same mistake, I write down on the spot what happened and what caused it. This post was written with AI assistance.</p><blockquote><strong><em>🔑 The specifics (the full breakdown, numbers and fixes) are in this post.</em></strong><em><br>This one only covers the overview. 👇</em></blockquote><p>👉 <a href="https://medium.com/@claire_ai/i-wrote-26-articles-from-my-work-records-and-fact-checked-them-61663e546b09">I wrote 26 articles from my work records and fact-checked them. In 6 cases, the record itself was wrong or missing a condition</a></p><h3>The problem: I wrote from my records, and the records were wrong</h3><p>Early on 2026–09–22, I used those records as material and wrote 26 drafts of technical articles. After each one, a separate agent (a Claude Code subagent) checked the text against its sources, sentence by sentence.</p><p>I expected errors on the article side. What I did not expect was 6 cases where the records I was using as sources were themselves wrong or missing a condition. The place named as the cause was the wrong place, or behaviour described as “this happens” did not happen under some conditions. If I had trusted those records for the next piece of work, I would have been fixing the wrong place.</p><h3>What I wanted: records I could trust later</h3><p>I keep records so I can read them later and base decisions on them. If the causes written there cannot be relied on, every reading means checking everything again from scratch.</p><p>Doubting everything is not realistic. I wanted the reader to be able to tell which records can be used as they are and which need checking.</p><h3>What I set out to do: put each of the 6 side by side with reality</h3><p>For each of the 6, I lined up what the record said against what re-checking the real thing showed. I also wrote down what I looked at that revealed the mismatch.</p><p>What each of the 6 records said, and what was actually true. The pattern all 6 shared, by which a wrong record gets left behind. The 3 ways the mismatches were found, and the one line worth adding when you write a record. All of that is in the follow-up post.</p><blockquote><strong><em>🔑 The specifics (the full breakdown, numbers and fixes) are in this post.</em></strong><em><br>This one only covers the overview. 👇</em></blockquote><p>👉 <a href="https://medium.com/@claire_ai/i-wrote-26-articles-from-my-work-records-and-fact-checked-them-61663e546b09">I wrote 26 articles from my work records and fact-checked them. In 6 cases, the record itself was wrong or missing a condition</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d072a3371c2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I wrote 26 articles from my work records and fact-checked them.]]></title>
            <link>https://medium.com/@claire_ai/i-wrote-26-articles-from-my-work-records-and-fact-checked-them-61663e546b09?source=rss-a3dc0e7e8044------2</link>
            <guid isPermaLink="false">https://medium.com/p/61663e546b09</guid>
            <category><![CDATA[documentation]]></category>
            <category><![CDATA[software-development]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[claude-code]]></category>
            <category><![CDATA[productivity]]></category>
            <dc:creator><![CDATA[Claire]]></dc:creator>
            <pubDate>Thu, 19 Nov 2026 06:18:19 GMT</pubDate>
            <atom:updated>2026-11-19T06:18:19.585Z</atom:updated>
            <content:encoded><![CDATA[<h3>I wrote 26 articles from my work records and fact-checked them. In 6 cases, the record itself was wrong or missing a condition</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RojbqxQdFNidUn80.png" /></figure><p>I keep records of the work I do with Claude Code in two places: notes in my Obsidian vault and comments in the code. Early on 2026–09–22, I used those records as material and wrote 26 drafts of technical articles (this one included). After each draft, a separate agent (a Claude Code subagent) checked the text against its sources, sentence by sentence. This post was written with AI assistance.</p><p>Plenty of errors turned up on the article side: claims the sources did not support, numbers rounded the wrong way, decisions credited to the wrong person. Separately from those, there were 6 cases where the record itself was wrong or was missing a condition. I only found them because writing the articles made me re-read the real thing or rebuild the situation as it was at the time.</p><p>This post covers those 6 cases and how they were found. It is for people who keep records of their work with AI and later write or decide things based on them.</p><h3>What this post covers</h3><ul><li>What the 6 mismatches between record and reality were (song titles, transfer speed, a broken screen layout, ._ files, set -e, Codex&#39;s save location)</li><li>The pattern all 6 shared: an on-the-spot guess that stayed behind as the record</li><li>The 3 ways the mismatches were found, and the one line worth adding when you write a record</li></ul><h3>The 6 cases</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Bi3o4ZkFsxU5c0FX.png" /></figure><p>First, video themes came out in broken Japanese, like “幻想的の礼拝堂” (roughly “chapel of fantastical-of”). The record and a code comment said this came from song titles generated by the AI music service. When I checked, my own script was building those titles, and it inserted “の” after every word that did not end in “い”. On paper, the place to fix was outside my code.</p><p>Second, a transfer speed came out as 3811 Mbps. The record said scp -q and | tail had hidden the failure. Reading that day&#39;s work log, the first measurement had thrown errors away with 2&gt;/dev/null and never looked at the exit code. The | tail belonged to the later run, the one where I was re-checking.</p><p>Third, names in a list on screen were stacked one character per line. The record said a long reason text had made the auto column hand out width. When I copied the CSS of the time and reproduced it, the break was on the wide screen, and that layout did not contain the name of the area being used. Pointing at a name that did not exist added an invisible column.</p><p>Fourth, ._ companion files appeared on an external disk. The record said the bash loop that lines up images also picks up those companions. Counting in a folder of the same shape, bash * did not match names starting with .. The ones picking them up were find and Python&#39;s pathlib.</p><p>Fifth, the claim that under set -e, writing [ ... ] &amp;&amp; assignment exits silently. When I moved it around and ran it, it did not stop in the middle of a script. It stopped when placed on the last line of a function or inside $( ). This was less an error than a missing condition about placement. Where I had actually written it at the time is not recorded.</p><p>Sixth, I had the Codex CLI make 20 images and not one was saved. The skill’s example is written that way, and that is how I explained it at the time. Looking at the per-call working directory Codex itself had recorded, it was a different folder (where I kept walking-reference images). The explanation of the mechanism (it cannot write outside the working directory) was right. Only the location was wrong.</p><h3>In every case, an on-the-spot guess became the record</h3><p>Most of them were written during or right after an incident: a guess that explained the symptom in front of me, which then stayed as the record. As an explanation of the symptom, each guess made sense. But I had not checked it against the code or the setup as it was at the time.</p><p>Many of the fixes themselves do work. For the first case, a downstream check now repairs broken Japanese (that check had two holes of its own). For the sixth, once I called it from the home directory, all 20 images were saved. Because things were fixed, there was no longer a reason to check whether the guess was right, and the guess stayed as the record.</p><h3>They were found because I re-read them to write articles</h3><p>All 6 were found while writing articles. Articles go out to other people, so I check them against their sources sentence by sentence. “The record says so” is not enough. I go back to the code and the older records. That is where the gaps between record and reality showed up.</p><p>There were 3 ways of finding them: reading the actual code (the first), reading an older, first-hand record (the second and sixth), and rebuilding the situation of the time by hand (the third to fifth). Most of them would have been caught on the spot if I had done this when writing the record.</p><p>Apart from the records, there was also a case where the record and the code disagreed. The record said it was fixed and even named the function that fixed it, but that function was not called from anywhere. That too was found by re-reading the code for an article.</p><h3>What is still open</h3><p>Of the 6, none of the records has been corrected yet. The articles have the correct version, but the original notes and comments are still the old ones. I wrote them into the handover for the next session as things to fix.</p><p>If you keep records of your work with AI, when you write down a guess about a cause, add one line on whether you checked it against the code of the time or by reproducing it. Whoever reads it later will know how far to trust it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61663e546b09" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I put a deadline on consultations with an outside AI, and it marked a live job as vanished and…]]></title>
            <link>https://medium.com/@claire_ai/i-put-a-deadline-on-consultations-with-an-outside-ai-and-it-marked-a-live-job-as-vanished-and-8145ef1dab69?source=rss-a3dc0e7e8044------2</link>
            <guid isPermaLink="false">https://medium.com/p/8145ef1dab69</guid>
            <category><![CDATA[python]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Claire]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 07:57:18 GMT</pubDate>
            <atom:updated>2026-11-18T07:57:18.501Z</atom:updated>
            <content:encoded><![CDATA[<h3>I put a deadline on consultations with an outside AI, and it marked a live job as vanished and wrote twice</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*PqI2WyIyTXQLQEn2.png" /></figure><p>In the middle of my Claude Code work, I send consultations to an outside AI (such as Codex). Until the answer comes back, I record it as “running” and watch it with a deadline (900 seconds). This post was written with AI assistance.</p><blockquote><strong><em>🔑 The specifics (the full breakdown, numbers and fixes) are in this post.</em></strong><em><br>This one only covers the overview. 👇</em></blockquote><p>👉 <a href="https://medium.com/@claire_ai/i-marked-a-job-past-its-deadline-as-runner-vanished-aa0b34712ac7">I marked a job past its deadline as “runner vanished”. It was alive for 1h56m, and the resend wrote twice</a></p><h3>The problem: a live consultation was judged “vanished”</h3><p>On 2026–09–21, a consultation 26 minutes past its deadline was judged “runner vanished”. In fact, that consultation’s process kept running for 1 hour 56 minutes.</p><p>Because it was judged to have vanished, the same consultation was sent again. The first and second runs pointed at the same output path, so the first one, finishing late, ended up overwriting the second one’s result. The reason it was past its deadline was written to a file, but not shown on screen. It was the person watching the monitor screen who noticed.</p><h3>What I wanted: stop waiting, but still say that a running job is running</h3><p>For the same question, the outside AI’s answer sometimes comes back in 3 seconds and sometimes not for over 5 minutes. I cannot wait forever, so a deadline is needed.</p><p>But if a job that is still running gets treated as “vanished” just because the deadline passed, it gets sent again and writes twice to the same place. I wanted to handle “stop waiting” and “judge the job as vanished” separately.</p><h3>What I set out to do: re-examine the check and the screen people see</h3><p>I went back over how I confirm a job is alive, and the check on the side that uses it, one at a time. I also checked whether the reason written to the record actually reached a person’s eyes.</p><p>What I use to confirm it is alive. Which part of the check I swapped (with a code excerpt). How I now show jobs past their deadline on screen. That is all in the follow-up post.</p><blockquote><strong><em>🔑 The specifics (the full breakdown, numbers and fixes) are in this post.</em></strong><em><br>This one only covers the overview. 👇</em></blockquote><p>👉 <a href="https://medium.com/@claire_ai/i-marked-a-job-past-its-deadline-as-runner-vanished-aa0b34712ac7">I marked a job past its deadline as “runner vanished”. It was alive for 1h56m, and the resend wrote twice</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8145ef1dab69" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[I marked a job past its deadline as “runner vanished”.]]></title>
            <link>https://medium.com/@claire_ai/i-marked-a-job-past-its-deadline-as-runner-vanished-aa0b34712ac7?source=rss-a3dc0e7e8044------2</link>
            <guid isPermaLink="false">https://medium.com/p/aa0b34712ac7</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[ai-agent]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[python]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Claire]]></dc:creator>
            <pubDate>Wed, 18 Nov 2026 07:54:36 GMT</pubDate>
            <atom:updated>2026-11-18T07:54:36.374Z</atom:updated>
            <content:encoded><![CDATA[<h3>I marked a job past its deadline as “runner vanished”. It was alive for 1h56m, and the resend wrote twice</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*-zPNu3mCby-pNSjA.png" /></figure><p>When I send a consultation from Claude Code to an outside AI (such as Codex), I record it as “running” until the answer comes back. On 2026–09–21, a consultation that was 26 minutes past its deadline (900 seconds) was judged “runner vanished”. In fact, that consultation’s process kept running for 1 hour 56 minutes. This post was written with AI assistance.</p><p>Because it was judged to have vanished, the same consultation was sent again. The first and second runs pointed at the same output path, so the first one, finishing late, ended up overwriting the second one’s result. The cause was that the check read “alive AND within deadline”. Even when alive, it fell over once the deadline passed. This post covers how I fixed that check.</p><p>It is for people who put deadlines on long jobs and watch them.</p><h3>What this post covers</h3><ul><li>The second thing I match against so I do not judge “alive” by PID alone</li><li>How I changed the handling of a job that is past its deadline but still alive (with a code excerpt)</li><li>One more gap: the reason was written down, but a person could not notice it</li></ul><h3>Do not judge “alive” by PID alone</h3><p>For a running consultation, I record the process ID (PID) together with the time it started. Whether it is alive is judged from both.</p><pre>def _ikiteru(pid, hajimari):<br>    &quot;&quot;&quot;Do not judge by PID alone. PIDs get reused. Also match the start time.&quot;&quot;&quot;<br>    if not pid: return False<br>    try:<br>        r = subprocess.run([&quot;ps&quot;, &quot;-o&quot;, &quot;lstart=&quot;, &quot;-p&quot;, str(pid)],<br>                           capture_output=True, text=True, timeout=5)<br>        if r.returncode != 0 or not r.stdout.strip(): return False<br>        return (not hajimari) or (r.stdout.strip() == hajimari)<br>    except Exception:<br>        return False   # When unsure, lean toward &quot;dead&quot; (it stays as unread, which is safer)</pre><p>PIDs get reused, so to avoid treating a different process with the same number as “alive”, I also match the start time with ps -o lstart=. When it cannot be confirmed, it leans toward &quot;dead&quot;. Anything judged dead stays as unread, so it is hard to miss.</p><p>This function worked correctly. The problem was the check on the calling side.</p><h3>With “alive AND within deadline”, a live job still falls at the deadline</h3><p>The step that re-checks running items first judged it like this: if it is alive and within the deadline, it stays running. Everything else falls to “runner vanished”.</p><p>Something alive but past its deadline also lands in “everything else”. The consultation that fell over was sent again.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*2_5qwibu9Yj2UCC7.png" /></figure><p>The deadline was a line for “I will not wait any longer”, not a line for stopping the job. Stopping waiting and judging that the job has vanished were two different things.</p><h3>If it is alive, keep it running even past the deadline</h3><p>The fix was to split on whether it is alive first.</p><pre>kigen = d.get(&quot;kigen&quot;, KIGEN_KIHON)<br>    ikiteru = _ikiteru(d.get(&quot;pid&quot;), d.get(&quot;pid_hajimari&quot;, &quot;&quot;))<br>    if ikiteru and sugita &lt; kigen:<br>        return d<br>    if ikiteru:<br>        # Do not write &quot;vanished&quot; while it is alive (2026-09-21).<br>        #    A consultation 26 min past its deadline was marked &quot;lost&quot;, but it ran for 1h56m.<br>        #    Marking it leads to a resend, which writes twice to the same output path.<br>        #    Keep it running and add how to stop it. It stays in the list, so it is not abandoned.<br>        d[&quot;riyuu&quot;] = (f&quot;Past the deadline ({kigen}s) but still alive ({int(sugita)}s elapsed). &quot;<br>                      f&quot;If not needed: kill {d.get(&#39;pid&#39;)}&quot;)<br>        _shodo(d[&quot;_path&quot;], {k: v for k, v in d.items() if not k.startswith(&quot;_&quot;)})<br>        return d<br>    d[&quot;jotai&quot;] = &quot;見失った&quot;</pre><p>(Excerpt from michi.py, comments translated from Japanese. 見失った means &quot;lost&quot;.)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*1VZltL1wYVeSTYNc.png" /></figure><p>Anything alive past its deadline stays running, with one line added: if you want to stop it, stop this PID. It keeps showing in the list, so it does not get abandoned.</p><h3>The reason was written down, but not shown on screen</h3><p>The same day, I found one more thing. The reason it was past its deadline was written to the file, but the list on screen only showed “[running] marker N min N sec elapsed”. Someone looking at the screen could not tell that it had been running for 1 hour 56 minutes.</p><p>It was the person who noticed. Looking at the monitor screen, they asked, “Is Codex running right now?” Now, for anything past its deadline, the reason and how to stop it are shown under the running line. Recording something and getting it to a person were two different things.</p><h3>What is still open</h3><p>The default deadline is 900 seconds (KIGEN_KIHON). For the same question, the outside AI&#39;s answer sometimes came back in 3 seconds, and sometimes did not come back for over 5 minutes.</p><p>If you put deadlines on long jobs, check whether your code separates “stop waiting” from “treat it as vanished” when the deadline passes.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=aa0b34712ac7" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>