Skip to content

alphasnow/modelscope-serving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ModelScope Serving

modelscope-serving

Use the following command to easily start ModelScope Serving

git clone https://github.com/alphasnow/modelscope-serving.git
cd modelscope-serving
docker-compose up -f docker-compose.yml -d

Example

# request
curl 'http://127.0.0.1:8800/api/predict/image-cartoon' \
-H 'Content-Type:application/json' \
-X POST \
-d '{"image":"TdbnJ6cHh9mV09O5qu+z6Sv3j06vPvJvcePHqdrLa...","algo_type":"anime"}'
# response
{"image":"Yc+a9/V3bHXmnZSu26oXaBa66pbLpbd4f7+8dHxj370o..."}

Features

  • Automatic Speech Recognition /asr/paraformer
  • Text To Speech /tts/emotion
  • Photo to Cartoon /image-cartoon
  • Image segmentation /image-segment/person /image-segment/product
  • Optical Character Recognition /image-ocr/general
  • Word Segment /word-segmentation
  • Body Detection /image-body/2d-keypoint

Dependencies

  • docker
  • docker-compose
  • modelscope
  • python
  • fastapi
  • opencv
  • uvicorn

License

This project is licensed under the Apache License (Version 2.0).

About

Build AI model service based on ModelScope / 一键搭建基于魔搭的AI模型服务

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages