使用grok2api把玩论坛ai短剧项目waoowaoo

准备资源:

一天3k star,两天快4k,真羡慕


https://linux.do/t/topic/1669464 继续讨论

稍微改了一下,可以使用grok2api,可以稍微把玩一下。

效果不是很好,问题包括:

  • 一致性不是很好
  • 莫名其妙说英语台词
  • 等等等等

但是重点是免费,可以了解一下佬友开发的这个热门项目

下面是我用ai稍微调整了部分代码,支持grok2api

创建openai兼容渠道,把模型配置上去

角色和场景可以直接image,但是分镜要edit,因为有场景图和人物图,我这瞎配置的

启动很简单

git clone -b feature/openai-compat-improvements https://github.com/zhx47/waoowaoo.git
cd waoowaoo
cp .env.example .env
vim .env

首先是修改数据库和redis,更换成自己的,然后更换一下里面的几个key,随机生成即可

重点是NEXTAUTH_URL,如果你是部署到服务器,需要换成服务器上的项目访问地址,如果是本地dev快速预览就不用管了

还有一个问题就是,uuid使用的是 crypto.randomUUID,只能https网页或者localhost可以使用,如果是其他http地址,需要更改chrome配置

chrome://flags/#unsafely-treat-insecure-origin-as-secure

tts项目本身有计费,但是账号余额都是0,要么改数据库,要么环境变量:BILLING_MODE: “SHADOW”

我的代码台词分析一些地方会报错,但是没啥影响,刷新一下看看,通常都能继续往一步走,懒得改了

tts我改成纯qwen3-tts-vd了,没有fal了,也不是指令的那个模型,所以项目部分配置会失效(台词生成哪里的语气等),只是为了低成本快速跑通项目

191 个赞

支持一下

1 个赞

免费账号没有视频模型吧?

有的有的

1 个赞

就一个6秒的吗?有连贯一下的吗?哈哈

谱号的grok只有6s,而且它没有首尾帧的能力,需要手动处理连接问题。

终于等到你

需要自己剪辑,同一个场景会有 近、中、远景

先低成本的把项目跑通吧,跑通之后真的需要自然就上高质量api了

1 个赞

这个挺好的,现在正在找各种api

支持大佬!

牛啊,牛啊牛啊

是这个道理,现在变现不好弄了吧

1 个赞

拉个群大家一起交流

1 个赞

原项目作者readme下面有群的

1 个赞

支持支持

请收下我的膝盖,本来我看群里还有人在说这个问题

感谢大佬分享 红心支持一下

跑不起来,配置保存报400错误

[0] {"ts":"2026-03-01T20:37:24.256+08:00","level":"ERROR","service":"waoowaoo","audit":false,"module":"api","action":"api.request.error","message":"Invalid parameters","requestId":"a387e902-86da-42c3-85e6-7e3b1cb83991","userId":"f187d0b5-a45b-4a4b-bcae-cfe4815fc8b5","errorCode":"INVALID_PARAMS","retryable":false,"durationMs":77,"details":{"method":"PUT","path":"/api/user/api-config","errorType":"s"},"error":{"name":"ApiError","message":"Invalid parameters","stack":"ApiError: Invalid parameters\n    at /app/.next/server/app/api/user/api-config/route.js:1:17876\n    at /app/.next/server/app/api/user/api-config/route.js:1:18007\n    at async /app/.next/server/chunks/593.js:1:7198\n    at async l (/app/.next/server/chunks/593.js:1:268)\n    at async /app/.next/server/chunks/593.js:1:7179\n    at async /app/.next/server/chunks/593.js:1:2439\n    at async rN.do (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:5:21042)\n    at async rN.handle (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:5:25860)\n    at async k (/app/.next/server/app/api/user/api-config/route.js:1:21519)\n    at async rN.handleResponse (/app/node_modules/next/dist/compiled/next-server/app-route.runtime.prod.js:1:105568)","code":"INVALID_PARAMS"}}
在此处键入或粘贴代码

经常会报错:准备失败: STORY_TO_SCRIPT_PARTIAL_FAILED: 2/2 screenplay steps failed. clip_1:Expected ‘,’ or ‘]’ after array element in JSON at position 4641 | clip_2:Expected ‘,’ or ‘]’ after array element in JSON at position 4101