Introduction
FunAI gives you one integration for the leading AI models: text, image, video, audio and 3D. You pick a model by its ID and pay from one prepaid API balance, instead of holding accounts and keys with every model maker.
What you can call
- Chat & text: OpenAI-compatible chat completions.
- Images: OpenAI-compatible image generation.
- Video & audio: text-to-video, image-to-video, speech, music and sound effects through the platform-native API.
- Workflows: chain several generation steps into one run.
- MCP server: the same models as tools inside MCP clients.
How it works
- Create an API key on the developer platform.
- Top up your API balance there (US dollars, $5 minimum). API calls are billed from this balance, which is separate from FunAI Studio plans and credits.
- Call
https://api.funai.artwith your key.
from openai import OpenAI
client = OpenAI(
base_url="https://api.funai.art/v1",
api_key="YOUR_FUNAI_API_KEY",
)
response = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "How can I use FunAI in my app?"}],
)
print(response.choices[0].message.content)
Next: Authentication.