Hello everyone, today I'm excited to show you how to generate an AI avatar using the PHGEN API from ModelsLab. Let's get started!
To begin, we need Postman and access to the ModelsLab platform. Follow these steps to create your AI avatar:
Navigate to ModelsLab Documentation:
Locate PHGEN API:
Copy the Endpoint:
Paste in Postman:
Prepare the Request JSON:
Add API Key and Face Image:
Set Image Dimensions:
Enter a Prompt:
Make the API Call:
Check the Generated Image:
style
parameter.style
parameter in your JSON request. For example, to generate a 3D style, add "style": "3D"
.Generate a 3D Style Image:
View the Transformed Image:
And that’s it! With these steps, you can generate and transform AI avatars into various styles using PHGEN API from ModelsLab.
Q1. What tools do I need to generate an AI avatar? A1. You need Postman and access to ModelsLab documentation and API.
Q2. Where can I find the PHGEN API documentation? A2. The PHGEN API documentation is available under the "Image Editing" section on ModelsLab’s website.
Q3. What is the default image style in PHGEN? A3. The default style is Realistic if no specific style is set.
Q4. What styles are supported by the PHGEN API? A4. The PHGEN API supports Comic, CTV 3D, Anime, and Realistic styles.
Q5. How do I transform the generated image into a new style?
A5. You can transform the style by adding the style
parameter to your JSON request and setting it to the desired style.
Q6. Can I use my own images with the PHGEN API? A6. Yes, you can upload your own face images to be transformed by the API.
Q7. How do I obtain an API key for ModelsLab? A7. You can obtain an API key by signing up on the ModelsLab platform.
Q8. What dimensions are recommended for the images? A8. The dimensions used in the example are 512 by 768, but you can adjust as needed.
In addition to the incredible tools mentioned above, for those looking to elevate their video creation process even further, Topview.ai stands out as a revolutionary online AI video editor.
TopView.ai provides two powerful tools to help you make ads video in one click.
Materials to Video: you can upload your raw footage or pictures, TopView.ai will edit video based on media you uploaded for you.
Link to Video: you can paste an E-Commerce product link, TopView.ai will generate a video for you.