mojipop
MojiPop MCP server is a comprehensive Avatar Personalization System designed to transform face photos into personalized caricatures and GIFs.
The MojiPop MCP server is a robust platform that seamlessly merges user-provided photos with a vast selection of caricature and GIF templates. It utilizes advanced algorithms to ensure that each avatar is unique and matches the user's photo as closely as possible. Users can create avatars by uploading face photos, which are then transformed into cartoon AvatarIDs. These AvatarIDs can be used to generate personalized caricatures and GIFs with high detail and precision. The server supports various customization options, allowing users to modify hairstyles, accessories, and more. Outputs are available in standard, HD, and UHD formats, making them suitable for a wide range of applications.
Features
- Instantly creates personalized cartoon avatars from face photos.
- Offers a wide range of caricature and GIF templates to customize your avatars.
- Provides high-quality outputs in standard, HD, and UHD formats.
- Supports a variety of customization options including hairstyles, accessories, and more.
MCP Tools
- CreateAvatar: Converts a face photo into a cartoon AvatarID.
- EditAvatar: Allows customization of the avatar's features, such as hairstyle, glasses, and accessories.
- GetAvatarInfo: Retrieves detailed information about the avatar, including gender, age, and detected attributes.
- GenerateOrUpdateIcon: Creates or updates a small avatar icon.
- GenerateCaricature: Produces a personalized caricature using the AvatarID.
- GenerateCaricatureHD: Generates a high-definition caricature.
- GenerateCaricatureUHD: Produces an ultra-high-definition caricature.
- GenerateSmallGif: Creates a small-sized personalized GIF sticker.
- GenerateGif: Generates a standard-sized personalized GIF sticker.
- GetCaricaturesByCode: Retrieves caricature data using a TemplateID.
- GetGifDataByCode: Retrieves GIF data using a TemplateID.
- GetCaricatureDataByCode: Retrieves detailed caricature information using a TemplateID.
Usage with Different Platforms
python
python
import requests
url = 'https://api.mojipop.com/createAvatar'
files = {'file': open('face_photo.jpg', 'rb')}
response = requests.post(url, files=files)
print(response.json())
nodejs
javascript
const fs = require('fs');
const axios = require('axios');
const formData = new FormData();
formData.append('file', fs.createReadStream('face_photo.jpg'));
axios.post('https://api.mojipop.com/createAvatar', formData, {
headers: formData.getHeaders()
})
.then(response => console.log(response.data))
.catch(error => console.error(error));