wangchuxiaoji-oss

Reverse-engineered Doubao (豆包) API → OpenAI-compatible REST service. Free multimodal chat, image/video/music generation, and file hosting for AI agents.

12
4
69% credibility
Found May 25, 2026 at 12 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Python
AI Summary

A reverse-engineered API service that wraps Doubao's free AI capabilities (chat, image/video/music generation, document analysis) into familiar OpenAI-compatible endpoints, letting developers add multimodal AI features to their projects without paying for expensive API access.

How It Works

1
💡 Discover free AI superpowers

You hear about a tool that gives your AI projects free access to image generation, video creation, and smart document reading through Doubao's service.

2
📦 Install and launch the service

You download and run the program on your computer. Everything starts up automatically and waits for your instructions.

3
📱 Scan the QR code to connect

A QR code appears on screen. You open your Doubao app on your phone and scan it—just like logging into a website—to link your account securely.

4
💬 Chat with the AI

You send messages and get thoughtful responses. You can ask it to analyze photos you upload, read through your documents, or help brainstorm ideas.

5
Choose what to create
🖼️
Generate images

Describe any image you want and watch it appear in seconds, from landscapes to characters to abstract art.

🎬
Create videos

Type a scene description and receive a short video clip, like an AI filmmaker at your command.

🎵
Make music

Describe the mood or genre you want, and the AI composes an original song with lyrics.

6
🔌 Connect to your favorite tools

You point your existing AI assistant or coding tool at this service using the familiar OpenAI format, and suddenly it can see images, read files, and create multimedia.

🚀 Your project comes to life

Everything works together seamlessly. Your AI assistant now has eyes to see images, hands to create content, and ears to understand your documents—all powered by free Doubao capabilities.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 12 to 12 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is doubao2api?

Doubao2api is a Python project that reverse-engineers ByteDance's Doubao AI assistant into an OpenAI-compatible REST service. It wraps Doubao's internal APIs behind a familiar interface, letting you chat, generate images and videos, create music, and upload files through standard endpoints. The whole thing runs as a self-hosted service you deploy on your own server.

Why is it gaining traction?

The pitch is simple: free multimodal AI without paying for GPT-4 Vision or DALL-E. You get image understanding, document parsing across 60+ formats, and media generation bundled together. The OpenAI compatibility layer means you can drop it into existing code using the official Python SDK or any curl command. Three response modes (quick, thinking with chain-of-thought, and expert reasoning) give you control over quality versus speed. The built-in admin dashboard and QR login flow make setup surprisingly painless for a reverse-engineered project.

Who should use this?

AI agent developers building tools that need vision or file analysis but don't want to pay for multiple API subscriptions. If you're running a text-only model like DeepSeek and want to bolt on image understanding, this gives you that capability for zero cost. Researchers experimenting with multimodal workflows who can tolerate the inherent instability of depending on an unofficial API that could break without warning.

Verdict

At 12 stars with a 0.699% credibility score, this is a hobby project with real utility but real risk. It works today, but Doubao could change their internal APIs tomorrow and break everything. Use it for prototyping and personal projects, but do not build production systems around it without a fallback plan.

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.