<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: ohan</title>
    <description>The latest articles on DEV Community by ohan (@kavel).</description>
    <link>https://dev.to/kavel</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3550527%2F83e86884-1e59-4bc8-9eee-198438edf04a.png</url>
      <title>DEV Community: ohan</title>
      <link>https://dev.to/kavel</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kavel"/>
    <language>en</language>
    <item>
      <title>How to Turn Old Family Photos Into a Personalized Birthday Video With Sound</title>
      <dc:creator>ohan</dc:creator>
      <pubDate>Mon, 16 Nov 2026 08:05:11 +0000</pubDate>
      <link>https://dev.to/kavel/how-to-turn-old-family-photos-into-a-personalized-birthday-video-with-sound-2f2c</link>
      <guid>https://dev.to/kavel/how-to-turn-old-family-photos-into-a-personalized-birthday-video-with-sound-2f2c</guid>
      <description>&lt;p&gt;Kavel is a free AI video generator and AI image generator — 4K clips with sound, and images you can run without an account or a card.&lt;/p&gt;

&lt;p&gt;Standard birthday slideshows fade one static photo into the next over a generic stock track. People watch the first five seconds, smile politely, and swipe away.&lt;/p&gt;

&lt;p&gt;When you animate the actual moments — turning a favorite snapshot into a short clip where the person smiles, raises a glass, or steps into a candlelit room with real ambient sound — the clip feels alive instead of recycled.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three ways to make an AI birthday video feel personal
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Start with a clear, well-lit photo of the person.&lt;/strong&gt; Front-facing portraits or candid dinner shots give the generator clean facial details so the subject stays recognizable through the entire clip.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Match the motion to the celebration.&lt;/strong&gt; A subtle champagne pop, warm sparklers, or a natural laugh across the table lands far better than chaotic camera spins.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep each clip focused on one beat.&lt;/strong&gt; Short, natural reactions cut together cleanly if you want to combine multiple family photos into one birthday message.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Creating your birthday clip on Kavel
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.kavel.ai/video/ai-birthday-video-generator" rel="noopener noreferrer"&gt;Kavel AI Birthday Video Generator&lt;/a&gt; is the best and fastest way to turn a favorite photo into a 4K birthday video with sound — upload the picture, pick or describe the celebration beat, and download the finished clip ready to send in any family group chat.&lt;/p&gt;

&lt;p&gt;Want a funny meme or celebratory shot to send alongside it? You can also pair it with &lt;a href="https://www.kavel.ai/video/champagne-pop-birthday-ai-video" rel="noopener noreferrer"&gt;Kavel Champagne Pop Birthday AI Video&lt;/a&gt; or start from &lt;a href="https://www.kavel.ai/" rel="noopener noreferrer"&gt;Kavel&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: Image runs work directly in your browser without an account or card; video generation uses free sign-in credits so your renders stay saved in your library.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>video</category>
      <category>birthday</category>
      <category>productivity</category>
    </item>
    <item>
      <title>How to Direct a 30-Second AI Video Clip With Sound Instead of 4-Second Loops</title>
      <dc:creator>ohan</dc:creator>
      <pubDate>Mon, 16 Nov 2026 07:02:51 +0000</pubDate>
      <link>https://dev.to/kavel/how-to-direct-a-30-second-ai-video-clip-with-sound-instead-of-4-second-loops-4b2i</link>
      <guid>https://dev.to/kavel/how-to-direct-a-30-second-ai-video-clip-with-sound-instead-of-4-second-loops-4b2i</guid>
      <description>&lt;p&gt;Kavel is a free AI video generator and AI image generator — 4K clips with sound, and images you can run without an account or a card.&lt;/p&gt;

&lt;p&gt;Most AI video tools hand you a four-second loop and leave you to stitch five separate renders together in an editor. By the third cut, the lighting drifts, the subject's jacket changes texture, and the audio feels pasted on afterward.&lt;/p&gt;

&lt;p&gt;When you have room for a full 30-second clip with synchronized sound, you can write one continuous beat sheet instead of fighting jump cuts.&lt;/p&gt;

&lt;h2&gt;
  
  
  Structuring a 30-second prompt so the shot holds together
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Anchor the opening frame first.&lt;/strong&gt; Upload your starting image or name the exact framing, subject, and lighting in sentence one so the model locks the visual state before motion starts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write actions in sequence, not all at once.&lt;/strong&gt; Break the 30 seconds into two or three clear beats ("the subject turns toward the window, pauses as rain hits the glass, then steps back into the warm lamp light") instead of cramming six verbs into one clause.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Name the sound alongside the action.&lt;/strong&gt; Ambient audio works best when it is tied to a visible cause — footsteps on wet gravel, a ceramic mug set down on wood, or wind rustling leaves in the background.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Generating 30-second clips with sound on Kavel
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.kavel.ai/video/seedance-2-5" rel="noopener noreferrer"&gt;Kavel Seedance 2.5&lt;/a&gt; is the cleanest way to turn a single photo or prompt into a 30-second AI video with sound in one pass — no multi-clip stitching required.&lt;/p&gt;

&lt;p&gt;If you already have a shorter clip and want to push it further, pair it with &lt;a href="https://www.kavel.ai/video/ai-video-extender" rel="noopener noreferrer"&gt;Kavel AI Video Extender&lt;/a&gt; or browse the full video suite on &lt;a href="https://www.kavel.ai/" rel="noopener noreferrer"&gt;Kavel&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: Image runs work right in the browser with no account or card; video generation uses free sign-in credits so your finished clips stay saved in your library.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>video</category>
      <category>filmmaking</category>
      <category>webdev</category>
    </item>
    <item>
      <title>How to Extend a 4-Second AI Clip Without Cutting the Motion</title>
      <dc:creator>ohan</dc:creator>
      <pubDate>Mon, 16 Nov 2026 06:52:06 +0000</pubDate>
      <link>https://dev.to/kavel/how-to-extend-a-4-second-ai-clip-without-cutting-the-motion-5aaj</link>
      <guid>https://dev.to/kavel/how-to-extend-a-4-second-ai-clip-without-cutting-the-motion-5aaj</guid>
      <description>&lt;p&gt;Kavel is a free AI video generator and AI image generator — 4K clips with sound, and images you can run without an account or a card.&lt;/p&gt;

&lt;p&gt;Most AI video clips stop right when the scene gets interesting — usually at four or five seconds. When you try to generate a second clip from scratch using the same prompt, the camera angle jumps, the lighting shifts, or the character's clothes change completely. You end up with two separate clips instead of one continuous shot.&lt;/p&gt;

&lt;p&gt;The clean way to keep the shot going is to feed the final frame — or the clip itself — into an extender that locks the visual state before predicting the next few seconds. Here is how to make that transition smooth and avoid the three most common drift errors.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three rules for keeping motion continuous
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Describe the continuation, not the starting pose.&lt;/strong&gt; If your first clip already shows someone walking down a rainy street, your extension prompt should describe what happens next ("keeps walking forward as neon reflections ripple across the pavement"), not re-state their outfit or background from zero.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Hold the camera movement steady.&lt;/strong&gt; Switching from a slow push-in to a sudden pan between segments breaks the illusion. Name the exact same camera motion you already established, or leave camera instructions neutral so the extender follows the existing velocity.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Give the subject one clear beat per extension.&lt;/strong&gt; Asking for three separate actions in a single extension forces the model to rush the motion. One beat — turning toward the camera, lifting a cup, stepping through a doorway — produces natural pacing.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Extending clips directly with Kavel
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://www.kavel.ai/video/ai-video-extender" rel="noopener noreferrer"&gt;Kavel AI Video Extender&lt;/a&gt; is the fastest way to keep your shot going — it takes your existing clip or starting frame and continues the motion cleanly without forcing a hard cut. Instead of rebuilding the scene from text alone, you upload your clip, write the next beat, and get a continuous 4K clip with sound ready to download and share.&lt;/p&gt;

&lt;p&gt;For developers and creators automating multi-clip pipelines, you can also explore the full &lt;a href="https://www.kavel.ai/video" rel="noopener noreferrer"&gt;Kavel AI Video Generator&lt;/a&gt; suite or start from the &lt;a href="https://www.kavel.ai/" rel="noopener noreferrer"&gt;Kavel&lt;/a&gt; homepage.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Note: Image generation runs right in your browser without an account or card; video generation uses free sign-in credits so your renders stay saved in your library.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>video</category>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>Ghost filter prank videos that do not look like a filter fail</title>
      <dc:creator>ohan</dc:creator>
      <pubDate>Sat, 24 Oct 2026 15:28:27 +0000</pubDate>
      <link>https://dev.to/kavel/ghost-filter-prank-videos-that-do-not-look-like-a-filter-fail-p3p</link>
      <guid>https://dev.to/kavel/ghost-filter-prank-videos-that-do-not-look-like-a-filter-fail-p3p</guid>
      <description>&lt;p&gt;A ghost-filter prank only works when the face stays locked and the "ghost" move reads in one beat. Most fails come from changing identity and camera motion in the same pass.&lt;/p&gt;

&lt;h2&gt;
  
  
  One change per pass
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Lock the face on a still (or a short hold).&lt;/li&gt;
&lt;li&gt;Add a single motion: fade, drift, or jump-scare cut — not all three.&lt;/li&gt;
&lt;li&gt;Keep wardrobe and background stable so the eye trusts the subject.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;I keep a working reference on &lt;strong&gt;&lt;a href="https://www.kavel.ai/video/ghost-filter-prank-ai" rel="noopener noreferrer"&gt;ghost filter prank AI video&lt;/a&gt;&lt;/strong&gt; — still-first, then one motion pass. If you are comparing plans while you test, the current tiers are on &lt;strong&gt;&lt;a href="https://www.kavel.ai/pricing" rel="noopener noreferrer"&gt;Kavel pricing&lt;/a&gt;&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Quick checklist before you publish
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Face identity stable across frames&lt;/li&gt;
&lt;li&gt;One primary motion only&lt;/li&gt;
&lt;li&gt;No second style layer in the same render&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;That is enough for a prank that reads on first watch.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>video</category>
      <category>tutorial</category>
      <category>generativeai</category>
    </item>
    <item>
      <title>I counted 150 AI video prompts, then built an n8n workflow that posts one a day</title>
      <dc:creator>ohan</dc:creator>
      <pubDate>Mon, 07 Sep 2026 14:00:21 +0000</pubDate>
      <link>https://dev.to/kavel/i-counted-150-ai-video-prompts-then-built-an-n8n-workflow-that-posts-one-a-day-3jme</link>
      <guid>https://dev.to/kavel/i-counted-150-ai-video-prompts-then-built-an-n8n-workflow-that-posts-one-a-day-3jme</guid>
      <description>&lt;p&gt;Most "prompt of the day" bots are a random line of text in a Slack channel. Nobody reads them, because a prompt with no output next to it is just a sentence.&lt;/p&gt;

&lt;p&gt;I wanted the opposite: one prompt a day, &lt;strong&gt;with the clip that prompt actually produced&lt;/strong&gt;, and no credentials to set up. It turned into a small n8n workflow and a much more interesting question — what does a prompt that actually works look like, statistically?&lt;/p&gt;

&lt;h2&gt;
  
  
  The workflow
&lt;/h2&gt;

&lt;p&gt;Six nodes, no API key, no account:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Schedule trigger&lt;/strong&gt; — once a day.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HTTP Request&lt;/strong&gt; — fetch the site's public &lt;code&gt;sitemap.xml&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code&lt;/strong&gt; — filter it down to prompt detail pages, pick one by &lt;code&gt;day % total&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HTTP Request&lt;/strong&gt; — fetch that page as text.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HTML&lt;/strong&gt; — extract &lt;code&gt;h1&lt;/code&gt;, the &lt;code&gt;pre&lt;/code&gt; blocks, and the JSON-LD &lt;code&gt;script&lt;/code&gt; tags.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Code&lt;/strong&gt; — pull the example video out of the &lt;code&gt;VideoObject&lt;/code&gt; schema, assemble a Slack-flavoured message.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;HTTP Request&lt;/strong&gt; — POST to a Slack or Discord webhook.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The source is a &lt;a href="https://emaki.ai/prompt?ref=devto" rel="noopener noreferrer"&gt;public library of Seedance 2 video prompts&lt;/a&gt; — 150 of them, each with the clip it generated.&lt;/p&gt;

&lt;h3&gt;
  
  
  Three things that made it work
&lt;/h3&gt;

&lt;p&gt;&lt;strong&gt;Rotate, don't randomize.&lt;/strong&gt; &lt;code&gt;Math.floor(Date.now() / 86400000) % urls.length&lt;/code&gt; gives you one prompt per day that is stable across re-runs. &lt;code&gt;Math.random()&lt;/code&gt; gives you duplicates within a week and a different result every time you debug.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;urls&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;[...&lt;/span&gt;&lt;span class="nx"&gt;xml&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;matchAll&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sr"&gt;/&amp;lt;loc&amp;gt;&lt;/span&gt;&lt;span class="se"&gt;([^&lt;/span&gt;&lt;span class="sr"&gt;&amp;lt;&lt;/span&gt;&lt;span class="se"&gt;]&lt;/span&gt;&lt;span class="sr"&gt;+&lt;/span&gt;&lt;span class="se"&gt;)&lt;/span&gt;&lt;span class="sr"&gt;&amp;lt;&lt;/span&gt;&lt;span class="se"&gt;\/&lt;/span&gt;&lt;span class="sr"&gt;loc&amp;gt;/g&lt;/span&gt;&lt;span class="p"&gt;)]&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;map&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;m&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;m&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;trim&lt;/span&gt;&lt;span class="p"&gt;())&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;u&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;u&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;/prompt/&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt;
  &lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;filter&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;u&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="nx"&gt;u&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;/prompt/category/&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;));&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;dayIndex&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Math&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;floor&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nb"&gt;Date&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;now&lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;/&lt;/span&gt; &lt;span class="mi"&gt;86400000&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;urls&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;dayIndex&lt;/span&gt; &lt;span class="o"&gt;%&lt;/span&gt; &lt;span class="nx"&gt;urls&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;length&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Read the schema, not the layout.&lt;/strong&gt; Every prompt page ships a &lt;code&gt;VideoObject&lt;/code&gt; in JSON-LD with &lt;code&gt;name&lt;/code&gt;, &lt;code&gt;description&lt;/code&gt; and &lt;code&gt;contentUrl&lt;/code&gt;. That is a stable contract; the rendered markup is not. Scraping the schema means a CSS refactor on their side does not silently break my workflow.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="k"&gt;for &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;raw&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="nx"&gt;item&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;structuredData&lt;/span&gt; &lt;span class="o"&gt;||&lt;/span&gt; &lt;span class="p"&gt;[])&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;parsed&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;JSON&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;parse&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;raw&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;blocks&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nb"&gt;Array&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;isArray&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;parsed&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="nx"&gt;parsed&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;parsed&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
  &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;found&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;blocks&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;find&lt;/span&gt;&lt;span class="p"&gt;((&lt;/span&gt;&lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="nx"&gt;b&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@type&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt; &lt;span class="o"&gt;===&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;VideoObject&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;found&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;video&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;found&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="k"&gt;break&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Count your selectors before you trust index 0.&lt;/strong&gt; Each page has &lt;em&gt;two&lt;/em&gt; &lt;code&gt;&amp;lt;pre&amp;gt;&lt;/code&gt; blocks: the Japanese original and the English version. &lt;code&gt;cssSelector: "pre"&lt;/code&gt; with &lt;code&gt;returnArray: false&lt;/code&gt; silently gives you the first one — so my first run posted Japanese into an English channel and looked completely fine. Set &lt;code&gt;returnArray: true&lt;/code&gt; and choose explicitly.&lt;/p&gt;

&lt;h2&gt;
  
  
  The part I didn't expect: the prompts are short
&lt;/h2&gt;

&lt;p&gt;Since I had all 150 in a list, I counted them. Median prompt length is &lt;strong&gt;152 characters&lt;/strong&gt;. Longest is 215.&lt;/p&gt;

&lt;p&gt;That is roughly one sentence each for style, place, subject and motion. Every "advanced prompting guide" I have read implies the opposite — that control comes from length. In this corpus, it doesn't exist. Long prompts tend to contain contradicting instructions, and the model drops one of them, non-deterministically.&lt;/p&gt;

&lt;p&gt;Element frequency across the 150:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Element&lt;/th&gt;
&lt;th&gt;Appears in&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Camera / lens / framing&lt;/td&gt;
&lt;td&gt;69 / 150 (46%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Duration stated in seconds&lt;/td&gt;
&lt;td&gt;63 / 150 (42%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lighting&lt;/td&gt;
&lt;td&gt;55 / 150 (37%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cut structure&lt;/td&gt;
&lt;td&gt;22 / 150 (15%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Audio (ambience, SFX, dialogue, ASMR)&lt;/td&gt;
&lt;td&gt;22 / 150 (15%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Resolution (4K / 8K)&lt;/td&gt;
&lt;td&gt;14 / 150 (9%)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Slow motion&lt;/td&gt;
&lt;td&gt;4 / 150 (3%)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two readings I'd stand behind:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Camera direction is not mandatory.&lt;/strong&gt; 54% of these prompts never mention a camera. It earns its characters when distance changes the meaning of the shot — macro for texture, wide for scale — and otherwise it is filler.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Audio is the cheapest differentiator.&lt;/strong&gt; Only 15% specify it, and it is most of the gap between "an AI clip" and "a finished shot".&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;A third of the corpus (34/150) splits the prompt by &lt;strong&gt;time range&lt;/strong&gt; rather than describing one continuous action:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;[00:00-00:05] intro, camera enters from behind the subject
[00:05-00:10] turn, light source switches
[00:10-00:15] wide, full scene
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;That form clusters hard: sci-fi (9), cinematic (7), people (5) — and it is almost absent from scenery (2) and food (0). It shows up exactly where &lt;strong&gt;order carries meaning&lt;/strong&gt;. For a single continuous shot, stating total duration is enough.&lt;/p&gt;

&lt;p&gt;And 32 of 150 need a reference image rather than text alone. The tell is simple: the moment a prompt points at &lt;em&gt;a specific person or a specific frame&lt;/em&gt; instead of a &lt;em&gt;kind&lt;/em&gt; of thing, text can no longer specify it. That is the line between &lt;a href="https://emaki.ai/video?ref=devto" rel="noopener noreferrer"&gt;text-to-video&lt;/a&gt; and &lt;a href="https://emaki.ai/image-to-video?ref=devto" rel="noopener noreferrer"&gt;image-to-video&lt;/a&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Setup
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Create an Incoming Webhook in Slack, or a Webhook in a Discord channel.&lt;/li&gt;
&lt;li&gt;Paste it into the last node.&lt;/li&gt;
&lt;li&gt;Discord only: append &lt;code&gt;/slack&lt;/code&gt; to the webhook URL — it then accepts the same &lt;code&gt;{ "text": ... }&lt;/code&gt; payload.&lt;/li&gt;
&lt;li&gt;Activate.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;That's the whole thing. Everything it reads is public, so there is no credential step and nothing to rotate.&lt;/p&gt;

&lt;p&gt;The prompts themselves are written against &lt;a href="https://emaki.ai/seedance-2-5?ref=devto" rel="noopener noreferrer"&gt;Seedance 2.5&lt;/a&gt;; if you have not run one before, the &lt;a href="https://emaki.ai/how-to-use-seedance?ref=devto" rel="noopener noreferrer"&gt;walkthrough&lt;/a&gt; is shorter than this post.&lt;/p&gt;

&lt;p&gt;I wrote the full breakdown of all 150 — element frequency, duration patterns, the reference-image split by category — as a &lt;a href="https://hanshs474.gitbook.io/seedance-2-prompt-guide/" rel="noopener noreferrer"&gt;standalone reference&lt;/a&gt; (Japanese). There is also a &lt;a href="https://qiita.com/hanshs474/items/9781f2a83abac5f260ae" rel="noopener noreferrer"&gt;Japanese write-up of the implementation&lt;/a&gt; on Qiita if that is your reading language.&lt;/p&gt;

&lt;p&gt;If you build something similar against another corpus, the transferable part is not the scraping — it is checking whether the thing you are scraping publishes structured data first. It usually does, and it is usually more stable than the HTML around it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related: trend walkthroughs
&lt;/h2&gt;

&lt;p&gt;A few of the trends those prompts turned into, each with the video walkthrough and the steps:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://ceiling-fan-transition-ai.webflow.io/" rel="noopener noreferrer"&gt;Ceiling Fan Transition&lt;/a&gt; — one photo, a new outfit with every blade&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://comfortable-vigilant-skunk-5ky9c3.teleporthq.app/" rel="noopener noreferrer"&gt;Tip Toeing in My Jordans&lt;/a&gt; — the shush-and-sneak meme from one photo&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://badtimesai.univer.se/" rel="noopener noreferrer"&gt;Bad Times AI trend&lt;/a&gt; — your pet argues with the camera and lunges in&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>n8n</category>
      <category>automation</category>
      <category>ai</category>
      <category>webdev</category>
    </item>
    <item>
      <title>A free image-generation API with no key and no account — and the three failures that look like success</title>
      <dc:creator>ohan</dc:creator>
      <pubDate>Sun, 06 Sep 2026 10:53:43 +0000</pubDate>
      <link>https://dev.to/kavel/a-free-image-generation-api-with-no-key-and-no-account-and-the-three-failures-that-look-like-f06</link>
      <guid>https://dev.to/kavel/a-free-image-generation-api-with-no-key-and-no-account-and-the-three-failures-that-look-like-f06</guid>
      <description>&lt;h1&gt;
  
  
  A free image-generation API with no key and no account — and the three failures that look like success
&lt;/h1&gt;

&lt;p&gt;Every "free AI image API" tutorial starts the same way: create an account, verify a phone number, copy a key, put it in &lt;code&gt;.env&lt;/code&gt;. This one skips all of that. There is nothing to apply for — you make up an identifier string yourself and send it as a header, and that string &lt;em&gt;is&lt;/em&gt; your account.&lt;/p&gt;

&lt;p&gt;The honest limits, up front: output is 1K and watermarked, and you get a wallet of &lt;strong&gt;15 credits&lt;/strong&gt;. The three things you can spend them on cost &lt;strong&gt;5&lt;/strong&gt;, &lt;strong&gt;15&lt;/strong&gt; and &lt;strong&gt;40&lt;/strong&gt; — so one of them can never run at all, and when it refuses, it answers &lt;code&gt;HTTP 200&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;That last part is why this post exists. Every failure mode on this endpoint is shaped like a success.&lt;/p&gt;

&lt;p&gt;Here's the whole client:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;pip &lt;span class="nb"&gt;install &lt;/span&gt;kavel
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="kn"&gt;from&lt;/span&gt; &lt;span class="n"&gt;kavel&lt;/span&gt; &lt;span class="kn"&gt;import&lt;/span&gt; &lt;span class="n"&gt;generate&lt;/span&gt;

&lt;span class="n"&gt;url&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nf"&gt;generate&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;a paper crane on a windowsill at sunrise, soft light, minimal&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="nf"&gt;print&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;url&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;No config file, no environment variable, no third-party dependency — standard library only. It returns a CDN URL. The package is on &lt;a href="https://pypi.org/project/kavel/" rel="noopener noreferrer"&gt;PyPI&lt;/a&gt;; it wraps the anonymous tier of &lt;a href="https://www.kavel.ai/?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;Kavel&lt;/a&gt;, an online image and video studio.&lt;/p&gt;

&lt;p&gt;Both images in this post came out of it while writing. The first is text-to-image. The second is the first one fed back in, with a prompt that only asks for an overcast sky:&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F28uzst1e4g89r1jhujwc.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F28uzst1e4g89r1jhujwc.webp" alt="Text-to-image output: a paper crane on a windowsill at sunrise" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2s7dp3glzmvwq8wbp9ov.webp" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F2s7dp3glzmvwq8wbp9ov.webp" alt="The same image edited: the sky is now overcast, while the crane, the window frame and the scratches on the glass are unchanged" width="800" height="800"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The folds of the paper, the highlight on the frame, the scratches on the glass — all still there. Only the light changed. That turns out to be a useful thing to know about, and I'll come back to it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Without the package: two endpoints
&lt;/h2&gt;

&lt;p&gt;The package is a shell around two HTTP calls, so any language can do this directly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Submit&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="nt"&gt;-X&lt;/span&gt; POST https://www.kavel.ai/api/ai/generate &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s1"&gt;'content-type: application/json'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s1"&gt;'x-anon-id: any-unique-string-you-generate'&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-d&lt;/span&gt; &lt;span class="s1"&gt;'{
    "provider": "kie",
    "mediaType": "image",
    "model": "kavel-image-v1",
    "scene": "text-to-image",
    "prompt": "a paper crane on a windowsill at sunrise",
    "options": {"aspect_ratio": "1:1"}
  }'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Real response, measured 2026-09-06:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"code"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"message"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"id"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"2a04f52a-0da3-4629-8a3f-ecc5a507f34f"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"pending"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"anon"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"charged"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"remaining"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;10&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"grant"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;}}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;You invent the &lt;code&gt;x-anon-id&lt;/code&gt; yourself. Nothing issues it, nothing validates it, it maps to no account — it is just the key your wallet is stored under.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Poll&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;curl &lt;span class="s2"&gt;"https://www.kavel.ai/api/ai/anon-query?taskId=&amp;lt;id&amp;gt;&amp;amp;provider=kie&amp;amp;mediaType=image"&lt;/span&gt; &lt;span class="se"&gt;\&lt;/span&gt;
  &lt;span class="nt"&gt;-H&lt;/span&gt; &lt;span class="s1"&gt;'x-anon-id: the same string'&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"code"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"message"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"status"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"success"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"images"&lt;/span&gt;&lt;span class="p"&gt;:[&lt;/span&gt;&lt;span class="s2"&gt;"https://cdn.kavel.ai/uploads/kie/image/af6c7cb1-....webp"&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"watermarked"&lt;/span&gt;&lt;span class="p"&gt;:[&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;&lt;span class="nl"&gt;"videos"&lt;/span&gt;&lt;span class="p"&gt;:[]}}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Those two runs took &lt;strong&gt;60s&lt;/strong&gt; and &lt;strong&gt;75s&lt;/strong&gt; respectively — one sample each, not an average. Poll every 10–15 seconds; a one-second loop buys nothing.&lt;/p&gt;

&lt;h2&gt;
  
  
  What the free tier actually covers
&lt;/h2&gt;

&lt;p&gt;Every row below is read out of a response like the ones above, not copied from a doc:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Action&lt;/th&gt;
&lt;th&gt;Model&lt;/th&gt;
&lt;th&gt;Credits&lt;/th&gt;
&lt;th&gt;Where the number comes from&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Text-to-image&lt;/td&gt;
&lt;td&gt;&lt;code&gt;kavel-image-v1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;5&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;{"charged":5,"remaining":10,"grant":15}&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Photo edit (image-to-image)&lt;/td&gt;
&lt;td&gt;&lt;code&gt;nano-banana-2-lite&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;15&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;{"charged":15,"remaining":0,"grant":15}&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Video, 480p / 6s&lt;/td&gt;
&lt;td&gt;&lt;code&gt;kavel-video-v1&lt;/code&gt;&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;40&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;{"wall":true,"cost":40,"grant":15}&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Anonymous wallet&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;15&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;the &lt;code&gt;grant&lt;/code&gt; field above&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Per-IP daily ceiling&lt;/td&gt;
&lt;td&gt;—&lt;/td&gt;
&lt;td&gt;&lt;strong&gt;30&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;&lt;code&gt;{"wall":true,"reason":"anon_ip_daily"}&lt;/code&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Three consequences worth stating plainly:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;One edit empties the wallet.&lt;/strong&gt; A 15-credit grant against a 15-credit edit is not a coincidence — it is sized so a signed-out visitor gets exactly one complete edit. Budget accordingly.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Video cannot run, and it is not flaky.&lt;/strong&gt; The cheapest configuration I could request — 480p, 6 seconds — costs 40 credits against a 15-credit wallet, and every other setting is priced above it, so there is nothing cheaper to fall back to. Without knowing that, you will spend an hour assuming you got the request shape wrong.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rotating the ID does not get you more.&lt;/strong&gt; I burned through three &lt;code&gt;x-anon-id&lt;/code&gt; values from one IP; after the 30th credit the &lt;em&gt;first&lt;/em&gt; call on a fresh ID was refused, with &lt;code&gt;reason&lt;/code&gt; switching from &lt;code&gt;anon_credits&lt;/code&gt; to &lt;code&gt;anon_ip_daily&lt;/code&gt;. Handle those two separately — the first one means this wallet is done, the second means this IP is done for today.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three failures that look like success
&lt;/h2&gt;

&lt;h3&gt;
  
  
  1. Running out of credit is an HTTP 200
&lt;/h3&gt;

&lt;p&gt;This is the expensive one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"code"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"message"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"ok"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"data"&lt;/span&gt;&lt;span class="p"&gt;:{&lt;/span&gt;&lt;span class="w"&gt;
  &lt;/span&gt;&lt;span class="nl"&gt;"wall"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="kc"&gt;true&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"reason"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"anon_credits"&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"cost"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;5&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"remaining"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;0&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"grant"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;15&lt;/span&gt;&lt;span class="p"&gt;}}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Status 200. &lt;code&gt;code&lt;/code&gt; is 0. &lt;code&gt;message&lt;/code&gt; is &lt;code&gt;ok&lt;/code&gt;.&lt;/strong&gt; Code that branches on the status code walks straight past this, reaches for &lt;code&gt;data.id&lt;/code&gt;, and gets &lt;code&gt;undefined&lt;/code&gt; one line later. On my first integration it surfaced as &lt;code&gt;No task id&lt;/code&gt; — an error message pointing at entirely the wrong thing.&lt;/p&gt;

&lt;p&gt;Check the field explicitly, before anything else:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight python"&gt;&lt;code&gt;&lt;span class="n"&gt;data&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;resp&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;json&lt;/span&gt;&lt;span class="p"&gt;()[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;data&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;span class="k"&gt;if&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;get&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;wall&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;):&lt;/span&gt;
    &lt;span class="k"&gt;raise&lt;/span&gt; &lt;span class="nc"&gt;RuntimeError&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="sa"&gt;f&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;out of credit: &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;reason&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="s"&gt;, this call needed &lt;/span&gt;&lt;span class="si"&gt;{&lt;/span&gt;&lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="s"&gt;cost&lt;/span&gt;&lt;span class="sh"&gt;'&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;&lt;span class="si"&gt;}&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;span class="n"&gt;task_id&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;data&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="s"&gt;id&lt;/span&gt;&lt;span class="sh"&gt;"&lt;/span&gt;&lt;span class="p"&gt;]&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  2. The edit field is &lt;code&gt;image_input&lt;/code&gt;, not &lt;code&gt;image_urls&lt;/code&gt;
&lt;/h3&gt;

&lt;p&gt;I guessed &lt;code&gt;options.image_urls&lt;/code&gt; and got:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"code"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="mi"&gt;-1&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;&lt;span class="nl"&gt;"message"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="s2"&gt;"a reference image is required for this edit"&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;It says the reference image is missing, and I had passed one — under a name the server never looked at. The correct shape:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight json"&gt;&lt;code&gt;&lt;span class="nl"&gt;"options"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="nl"&gt;"image_input"&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="s2"&gt;"https://.../photo.jpg"&lt;/span&gt;&lt;span class="p"&gt;]}&lt;/span&gt;&lt;span class="w"&gt;
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The pattern here is worth more than the fix: &lt;strong&gt;the error describes the outcome, not the cause&lt;/strong&gt;, so following it leads away from the problem. The Python package wraps this as &lt;code&gt;image_url&lt;/code&gt; and you never see the layer.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Task status is not monotonic
&lt;/h3&gt;

&lt;p&gt;The sequence I observed was &lt;code&gt;processing → pending → success&lt;/code&gt; — it went &lt;em&gt;backwards&lt;/em&gt; once. So a poll loop written as "anything other than &lt;code&gt;processing&lt;/code&gt; means we're done" will fire early. Treat only &lt;code&gt;success&lt;/code&gt; and &lt;code&gt;failed&lt;/code&gt; as terminal; keep waiting on everything else.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wiring it into agents and workflows
&lt;/h2&gt;

&lt;p&gt;Because there is no key to distribute, this fits the places where you want other people to run something without sending them to a signup form first:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;MCP server&lt;/strong&gt; — ask Claude or Cursor for an image and it runs; nothing to configure. It's listed on &lt;a href="https://lobehub.com/mcp/hanshs474-kavel-mcp" rel="noopener noreferrer"&gt;LobeHub&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;n8n workflow&lt;/strong&gt; — a form trigger, two HTTP Request nodes for submit and poll, and a branch on &lt;code&gt;wall: true&lt;/code&gt; that returns a readable message instead of failing silently. &lt;a href="https://n8n.io/workflows/19009" rel="noopener noreferrer"&gt;The template&lt;/a&gt; imports and runs with no credentials.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Apify actor&lt;/strong&gt; — &lt;a href="https://apify.com/kavel/kavel-ai-image-generator" rel="noopener noreferrer"&gt;batch a list of prompts&lt;/a&gt;. One gotcha: credits are metered per &lt;code&gt;x-anon-id&lt;/code&gt;, so &lt;strong&gt;generate a fresh ID per prompt&lt;/strong&gt; or everything after the first one hits the wall.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;None of the three asks the person using it to register anywhere.&lt;/p&gt;

&lt;h2&gt;
  
  
  Back to those two images
&lt;/h2&gt;

&lt;p&gt;The prompt for the edit only said: change the sky to overcast, keep the crane and the windowsill exactly as they are. The frame highlight, the scratches on the glass, the folds — all preserved.&lt;/p&gt;

&lt;p&gt;Here's the rule that saves re-runs: &lt;strong&gt;a model preserves what it can still see, and invents what it can't.&lt;/strong&gt; So the leverage in an edit prompt is not describing the change in more detail, it's &lt;strong&gt;naming what must not change&lt;/strong&gt;. Same model, two outcomes: tell it to change the sky and it changes only the sky; hand it a blurred face and ask it to sharpen, and you get a sharp face that belongs to someone else — because the face was never in the input to begin with.&lt;/p&gt;

&lt;p&gt;I've only verified that on this one model, but the cause (a model can only preserve information that survived into the input) isn't specific to it. If you'd rather click than write code, the &lt;a href="https://www.kavel.ai/image/nano-banana-2-lite?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;nano-banana-2-lite page&lt;/a&gt; takes an upload directly.&lt;/p&gt;

&lt;h2&gt;
  
  
  Limits, stated up front
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Signed out&lt;/th&gt;
&lt;th&gt;Signed in&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Text-to-image&lt;/td&gt;
&lt;td&gt;✅ 1K, watermarked&lt;/td&gt;
&lt;td&gt;✅ no watermark, larger models&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Photo edit&lt;/td&gt;
&lt;td&gt;✅ one run on the free grant&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Video&lt;/td&gt;
&lt;td&gt;❌ 40 credits vs a 15-credit wallet&lt;/td&gt;
&lt;td&gt;✅&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Refill&lt;/td&gt;
&lt;td&gt;per-browser, roughly 30 days&lt;/td&gt;
&lt;td&gt;per plan&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;As said at the top: anonymous output is 1K and watermarked. That's the shape of the free tier, not a defect.&lt;/p&gt;

&lt;p&gt;Signing up is free and starts you at &lt;strong&gt;40 credits&lt;/strong&gt; — eight text-to-image runs, or two edits, at the prices in the table above. There's also a daily check-in that adds more. I'm listing the unit costs so you can work out whether that's enough &lt;em&gt;before&lt;/em&gt; you register rather than after. Removing the watermark and reaching the larger models starts from the same place; &lt;a href="https://www.kavel.ai/pricing?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;pricing is here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Signed-out video on the site runs on a separate browser-side engine rather than this endpoint — the &lt;a href="https://www.kavel.ai/video?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;video tools&lt;/a&gt; work without an account too.&lt;/p&gt;

&lt;h2&gt;
  
  
  FAQ
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;Is this endpoint going to disappear?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;It's the public shape of the anonymous trial path on the site — the same one a signed-out visitor hits when they press Generate. It lives and dies with the free tier rather than being a temporary promo endpoint. The credit numbers will move with costs, but every response carries &lt;code&gt;grant&lt;/code&gt; and &lt;code&gt;charged&lt;/code&gt;, so &lt;strong&gt;read them instead of hardcoding them&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I rotate &lt;code&gt;x-anon-id&lt;/code&gt; on every call?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Yes, nothing validates it. But rotating only escapes the per-browser wallet, not the 30-credit per-IP daily ceiling. Rotation is &lt;em&gt;required&lt;/em&gt; for batch work (without it everything after the first prompt walls), it just isn't a way to get unlimited credit.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why isn't video exposed in the Python package?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Because signed out it fails 100% of the time. A function that can never succeed is worse than a missing one — people assume they're holding it wrong. It's left out, and the README says why.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Do failed generations still cost credits?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;In my testing the charge lands at submission — it's in the &lt;code&gt;charged&lt;/code&gt; field of the very first response. So get the prompt right the first time, particularly on the edit path, where one attempt is the entire wallet.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Can I use the output commercially?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Anonymous output is watermarked, so not directly. Watermark removal and licensing follow the signed-in plans.&lt;/p&gt;

&lt;h2&gt;
  
  
  One thing to take away
&lt;/h2&gt;

&lt;p&gt;If you keep a single line from this: &lt;strong&gt;the failures are shaped like successes.&lt;/strong&gt; Running out of credit returns &lt;code&gt;HTTP 200&lt;/code&gt; with &lt;code&gt;"code":0&lt;/code&gt; and &lt;code&gt;"message":"ok"&lt;/code&gt;, and a single boolean buried in &lt;code&gt;data.wall&lt;/code&gt; is the only thing telling you nothing happened. Write that check first, then write the rest.&lt;/p&gt;

&lt;p&gt;If you'd rather not write any of it, &lt;a href="https://www.kavel.ai/image?utm_source=devto&amp;amp;utm_medium=article" rel="noopener noreferrer"&gt;kavel.ai/image&lt;/a&gt; runs in the browser — no account there either.&lt;/p&gt;

&lt;p&gt;All numbers measured 2026-09-06.&lt;/p&gt;

&lt;h2&gt;
  
  
  Related free tools
&lt;/h2&gt;

&lt;p&gt;Three single-purpose photo editors that run in the browser, if you want the result without writing the call yourself:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;a href="https://old-photo-restoration-free.vercel.app/" rel="noopener noreferrer"&gt;Old Photo Restoration&lt;/a&gt; — repair a faded, scratched or torn print&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://ai-outfit-generator.bitbucket.io/" rel="noopener noreferrer"&gt;AI Outfit Generator&lt;/a&gt; — try a new outfit on your own photo&lt;/li&gt;
&lt;li&gt;
&lt;a href="https://ai-clothes-swap.kavel.deno.net/" rel="noopener noreferrer"&gt;AI Clothes Swap&lt;/a&gt; — change what someone is wearing and keep the pose&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>api</category>
      <category>python</category>
      <category>showdev</category>
    </item>
  </channel>
</rss>
