[PR #17] feat: add MuAPI image and video generation tool #16

Open
opened 2026-10-18 14:07:33 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/open-webui/functions/pull/17
Author: @Anil-matcha
Created: 6/17/2026
Status: 🔄 Open

Base: main ← Head: feat/muapi-tool


📝 Commits (1)

  • 0f6c013 feat: add MuAPI image and video generation tool

📊 Changes

1 file changed (+144 additions, -0 deletions)

View changed files

➕ functions/tools/muapi_image_video_generator.py (+144 -0)

📄 Description

MuAPI Image & Video Generator Tool

Adds a Tools function for muapi.ai — a unified API for 400+ generative media models.

What it does

  • generate_image(prompt, model?, width?, height?) — generates images using Flux, Midjourney, GPT-4o Image, Imagen 4, Seedream, and more
  • generate_video(prompt, model?, duration?, aspect_ratio?) — generates videos using Veo3, Kling, Wan, Runway, Pixverse, Sora, and more

Setup

  1. Get an API key at muapi.ai/dashboard/api-keys
  2. Admin → Tools → paste the code → set MUAPI_API_KEY in Valves

Example usage in chat

"Generate a photorealistic image of a mountain lake at sunrise using midjourney"

"Create a 5 second video of a timelapse of clouds moving over city using veo3-fast"


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/open-webui/functions/pull/17 **Author:** [@Anil-matcha](https://github.com/Anil-matcha) **Created:** 6/17/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feat/muapi-tool` --- ### 📝 Commits (1) - [`0f6c013`](https://github.com/open-webui/functions/commit/0f6c013d9e01bc4f9b8db1d2f23190bac8467bc8) feat: add MuAPI image and video generation tool ### 📊 Changes **1 file changed** (+144 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `functions/tools/muapi_image_video_generator.py` (+144 -0) </details> ### 📄 Description ## MuAPI Image & Video Generator Tool Adds a Tools function for [muapi.ai](https://muapi.ai) — a unified API for 400+ generative media models. ### What it does - `generate_image(prompt, model?, width?, height?)` — generates images using Flux, Midjourney, GPT-4o Image, Imagen 4, Seedream, and more - `generate_video(prompt, model?, duration?, aspect_ratio?)` — generates videos using Veo3, Kling, Wan, Runway, Pixverse, Sora, and more ### Setup 1. Get an API key at [muapi.ai/dashboard/api-keys](https://muapi.ai/dashboard/api-keys) 2. Admin → Tools → paste the code → set `MUAPI_API_KEY` in Valves ### Example usage in chat > "Generate a photorealistic image of a mountain lake at sunrise using midjourney" > "Create a 5 second video of a timelapse of clouds moving over city using veo3-fast" --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/functions#16
No description provided.