1. Conduid
  2. Commerce
  3. apinetwork/piapi-mcp-server
MCP server · Commerce

apinetwork/piapi-mcp-server

A TypeScript implementation of a Model Context Protocol (MCP) server that integrates with PiAPI's API. PiAPI makes user able to generate media content with Midjourney/Flux/Kling/LumaLabs/Udio/Chrip/Trellis directly from Claude or any other MCP-compatible apps.

Unclaimed MIT commerce
56Fair

Scored 21 hours ago · breakdown

About apinetwork/piapi-mcp-server

apinetwork/piapi-mcp-server is an MCP server published by apinetwork in the Commerce category: a TypeScript implementation of a Model Context Protocol (MCP) server that integrates with PiAPI's API. PiAPI makes user able to generate media content with Midjourney/Flux/Kling/LumaLabs/Udio/Chrip/Trellis directly from Claude or any other MCP-compatible apps. Conduid read 23 tools from its source: derive_image, generate_3d_model, generate_image, generate_image_controlnet, generate_music_for_video, generate_music_suno and 17 more. No package is published for it, so it installs from a source checkout.

The repository has 76 stars and 21 forks, is licensed MIT, and its last commit was on 17 Sep 2026. Conduid has no tagged release on record for it. It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, Dependencies pinned and Scoped permissions. Its topics include commerce.

Install

From source
git clone https://github.com/apinetwork/piapi-mcp-server

Tools (23)

derive_imageDerive a image using Qubico Flux, variation
ParameterTypeDescription
heightanyThe height of the image to generate, must be between 128 and 1024, defaults to 1024
negativePromptstringThe negative prompt to derive an image from
prompt *stringThe prompt to derive an image from
referenceImage *stringThe reference image to derive an image from, must be a valid image url
stepsanyThe number of steps to generate the image
widthanyThe width of the image to generate, must be between 128 and 1024, defaults to 1024
generate_3d_modelGenerate a 3d model using Qubico Trellis
ParameterTypeDescription
image *stringThe image to generate a 3d model from
generate_imageGenerate a image using Qubico Flux
ParameterTypeDescription
heightanyThe height of the image to generate, must be between 128 and 1024, defaults to 1024
lorastringThe lora to use for image generation, only available for 'dev' model, defaults to ''
modelstringThe model to use for image generation, 'schnell' is faster and cheaper but less detailed, 'dev' is slower but more detailed
negativePromptstringThe negative prompt to generate an image from
prompt *stringThe prompt to generate an image from
referenceImagestringThe reference image to generate an image from, must be a valid image url
stepsanyThe number of steps to generate the image
widthanyThe width of the image to generate, must be between 128 and 1024, defaults to 1024
generate_image_controlnetGenerate a image using Qubico Flux with ControlNet
ParameterTypeDescription
controlTypestringThe control type to use for image generation
heightanyThe height of the image to generate, must be between 128 and 1024, defaults to 1024
lorastringThe lora to use for image generation
negativePromptstringThe negative prompt to generate an image from
prompt *stringThe prompt to generate an image from
referenceImage *stringThe reference image to generate an image from, must be a valid image url
stepsanyThe number of steps to generate the image
widthanyThe width of the image to generate, must be between 128 and 1024, defaults to 1024
generate_music_for_videoGenerate a music for a video using Qubico MMAudio
ParameterTypeDescription
negativePromptstringThe negative prompt to generate a music from
prompt *stringThe prompt to generate a music from
video *stringThe video to generate a music from
generate_music_sunoGenerate music using Suno
ParameterTypeDescription
makeInstrumentalbooleanWhether to make the music instrumental, defaults to false. Not compatible with title, tags, negativeTags
negativeTagsstringThe negative tags of the music, limited to 200 characters
prompt *stringThe prompt to generate a music from, limited to 3000 characters
tagsstringThe tags of the music, limited to 200 characters
titlestringThe title of the music, limited to 80 characters
generate_video_effect_klingGenerate a video effect using Kling
ParameterTypeDescription
effectNamestringThe effect name to generate, must be either 'squish' or 'expansion', defaults to 'squish'
image *stringThe reference image to generate a video effect from
generate_video_hailuoGenerate a video using Hailuo
ParameterTypeDescription
expandPromptbooleanWhether to expand the prompt
imageUrlstringThe image URL for image-to-video models
modelstringThe model to use for video generation. t2v models are text-to-video, i2v models are image-to-video, s2v-01 requires human face detection
prompt *stringThe prompt to generate a video from (max 2000 characters)
generate_video_hunyuanGenerate a video using Qubico Hunyuan
ParameterTypeDescription
aspectRatiostringThe aspect ratio of the video to generate, must be either '16:9', '1:1', or '9:16', defaults to '16:9'
modelstringThe model to use for video generation, 'hunyuan' is slower but more detailed, 'fastHunyuan' is faster but less detailed, both for txt2video. 'hunyuanReplace' sticks to reference image, and 'hunyuanConcat' allows for more creative movement, both for img2video
negativePromptstringThe negative prompt to generate a video from
prompt *stringThe prompt to generate a video from
referenceImagestringThe reference image to generate a video from, must be a valid image url
generate_video_klingGenerate a video using Kling
ParameterTypeDescription
aspectRatiostringThe aspect ratio of the video to generate, must be either '16:9', '1:1', or '9:16', defaults to '16:9'
durationstringThe duration of the video to generate, defaults to 5 seconds
negativePromptstringThe negative prompt to generate a video from
prompt *stringThe prompt to generate a video from
referenceImagestringThe reference image to generate a video with
generate_video_lumaGenerate a video using Luma
ParameterTypeDescription
aspectRatiostringThe aspect ratio of the video, defaults to 16:9
durationstringThe duration of the video, defaults to 5s. If keyFrame is provided, only 5s is supported
keyFramestringThe key frame to generate a video with
prompt *stringThe prompt to generate a video from
generate_video_skyreelsGenerate a video using Qubico Skyreels
ParameterTypeDescription
aspectRatiostringThe aspect ratio of the video to generate, must be either '16:9', '1:1', or '9:16', defaults to '16:9'
negativePromptstringThe negative prompt to generate a video from
prompt *stringThe prompt to generate a video from
referenceImage *stringThe reference image to generate a video from, must be a valid image url, only available for 'wan14b' model
generate_video_wanGenerate a video using Qubico Wan
ParameterTypeDescription
aspectRatiostringThe aspect ratio of the video to generate, must be either '16:9', '1:1', or '9:16', defaults to '16:9'
modelstringThe model to use for video generation, must be either 'wan1_3b' or 'wan14b', 'wan1_3b' is faster but less detailed, 'wan14b' is slower but more detailed
negativePromptstringThe negative prompt to generate a video from
prompt *stringThe prompt to generate a video from
referenceImagestringThe reference image to generate a video from, must be a valid image url, only available for 'wan14b' model
image_faceswapFaceswap an image
ParameterTypeDescription
swapImage *stringThe URL of the image to swap
targetImage *stringThe URL of the target image
image_rmbgRemove the background of an image
ParameterTypeDescription
image *stringThe URL of the image to remove the background
image_segmentSegment an image
ParameterTypeDescription
image *stringThe URL of the image to segment
negativePromptstringThe negative prompt to segment the image
prompt *stringThe prompt to segment the image
segmentFactornumberThe factor to segment the image
image_upscaleUpscale an image to a higher resolution
ParameterTypeDescription
faceEnhancebooleanWhether to enhance the face of the image
image *stringThe URL of the image to upscale
scalenumberThe scale of the image to upscale, defaults to 2
midjourney_imagineGenerate a image using Midjourney Imagine
ParameterTypeDescription
aspectRatiostringThe aspect ratio of the image
prompt *stringThe prompt to generate a image from
modify_imageModify a image using Qubico Flux, inpaint or outpaint
ParameterTypeDescription
model *stringThe model to use for image modification
negativePromptstringThe negative prompt to modify an image from
paddingBottomanyThe padding bottom of the image, only available for outpaint
paddingLeftanyThe padding left of the image, only available for outpaint
paddingRightanyThe padding right of the image, only available for outpaint
paddingTopanyThe padding top of the image, only available for outpaint
prompt *stringThe prompt to modify an image from
referenceImage *stringThe reference image to modify an image from, must be a valid image url
stepsanyThe number of steps to generate the image
show_imageShow an image with pixels less than 768*1024 due to Claude limitation
ParameterTypeDescription
url *stringThe URL of the image to show
tts_zero_shotZero-shot TTS using Qubico f5-tts
ParameterTypeDescription
genText *stringThe text to generate a speech from
refAudio *stringThe reference audio to generate a speech from
refTextstringThe reference text to generate a speech from, auto detect from refAudio if not provided
video_faceswapFaceswap a video
ParameterTypeDescription
swapImage *stringThe URL of the image to swap
targetVideo *stringThe URL of the video to faceswap
video_upscaleUpscale video resolution to 2x
ParameterTypeDescription
video *stringThe URL of the video to upscale

Security checks

Static checks derived from the repository 11 days ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository's README runs to about 1.3K words.
  • ✓License declaredThe repository declares the MIT license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
  • ✓No dynamic code executionScanned 9 source files and found no eval, dynamic Function or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

What the source scan found

Transport
stdiosrc/index.ts:46
Starts other programs
No calls that start other programs
Outbound network calls
6 callssrc/index.ts:1739, src/index.ts:1775, src/sync/fetchers.ts:35
Writes or deletes files
No file writes or deletes
Lockfile
None in the repository

Pattern matches on the source text of 9 files: places to read, not proof of what the code does at run time.

README

The repository's README runs to about 1.3K words, fetched a month ago. The original in the repository is authoritative.

Read full README
Questions

About apinetwork/piapi-mcp-server

How do I install apinetwork/piapi-mcp-server?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is apinetwork/piapi-mcp-server safe to use with an AI agent?

Its trust score is 56 out of 100 (fair). It passes 3 of the 6 static checks Conduid ran on the repository; it does not pass Tests present, Dependencies pinned and Scoped permissions. Conduid's scan of 9 source files found that it serves MCP over stdio and makes outbound network calls (6 calls). It has no ConduID identity yet, so agent calls to it are not receipted.

Is apinetwork/piapi-mcp-server still maintained?

Yes — the last commit was 2 months ago. The repository has 76 stars and 21 forks and 8 open issues.

What tools does apinetwork/piapi-mcp-server provide?

Conduid read 23 tools from the source: derive_image, generate_3d_model, generate_image, generate_image_controlnet, generate_music_for_video, generate_music_suno, generate_video_effect_kling, generate_video_hailuo and 15 more. 23 of them publish their parameters, listed under Tools above.

What license is apinetwork/piapi-mcp-server released under?

The repository declares the MIT license.