TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Lil digi – play a platformer game as yourself

30 点作者 sunnyba27 天前
I&#x27;ve been monitoring some of the image generation progress for game sprites for a while and was really impressed by Gemini Flash. This demo lets you upload a picture and turns it into an animated pixel character (a lil digi gif that you can download). I chain together the pixel art frames and insert the player into a tricky platforming level.<p>video demo: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=EK7z-HltssE" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=EK7z-HltssE</a><p>api usage: Unfortunately Gemini Flash 2.0 image Gen has really tight API limits that don&#x27;t scale up for paid tiers -- if anyone on the team sees this and wants to help me out, my email is in my profile or you can reach me at hello@lildigi.me<p>level stats: For the speedrunners out there, the fastest glitchless times I&#x27;ve seen around 17-18s.<p>stack: cloudflare pages + aws lambda + gemini<p>happy to answer any questions!

11 条评论

cadamsdotcom24 天前
Hey there! If you’re hitting rate limits perhaps let people bring their own Gemini api key?<p>You may be able to take advantage of CORS so the Gemini call is client-side and your backend never sees the key. Simon Willison did this for Claude and wrote it up here: <a href="https:&#x2F;&#x2F;simonwillison.net&#x2F;2024&#x2F;Aug&#x2F;23&#x2F;anthropic-dangerous-direct-browser-access&#x2F;" rel="nofollow">https:&#x2F;&#x2F;simonwillison.net&#x2F;2024&#x2F;Aug&#x2F;23&#x2F;anthropic-dangerous-di...</a><p>Very cool idea, thanks for sharing!
adamddev127 天前
This is one of the most delightful things I&#x27;ve seen on the internet in a long while. I immediately started sharing it with my friends and we shared the cute little characters we made. Everyone loved it.
评论 #43813174 未加载
IanCal27 天前
That&#x27;s a fantastic idea! I love the little me on that - taken from just a webcam pic with a messy background and it&#x27;s pulled out things like my tshirt perfectly.
评论 #43812860 未加载
armitage__27 天前
Very neat. Would you share some of the prompts you used to generate the pixel art sprite? Super accurate to the photo I provided.
评论 #43812847 未加载
评论 #43812763 未加载
sunnyba27 天前
thanks for the traffic everyone -- definitely hitting rate limits on gemini already so if it doesn&#x27;t work please give it a try later in the day or try the example.<p>Apologies for the inconvenience! If anyone on the gemini team can help out, please lmk (email in bio).
sureglymop26 天前
Was the general art of the game made by an AI like PixelLab?
评论 #43814430 未加载
kuberwastaken27 天前
THIS IS SO COOL, got top 6.9% haha <a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;8MptH2l" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;8MptH2l</a>
评论 #43814117 未加载
iguana27 天前
Brilliant idea and great execution!
评论 #43812748 未加载
icebxrg27 天前
Great work!
moschetti127 天前
damn such a cool idea, didn&#x27;t let me play as donald trump lmao but this concept is so cool.
评论 #43812798 未加载
rc_kas27 天前
Man you motherfuckers are smart.<p>This is pretty cool