Get Art Styles Infinity

Get all Infinity Art style

GET https://pub-api.mojo.vn/srv/publish/api/art_v5/getStyle

This is api get all art style from Mojo AI for Image generator (Text to image)

Headers

Name
Type
Description

Content-Type*

text/plain

Authorization*

Bearer apikey

API_KEY

{
    "success": true,
    "style": [
        {
            "order": orderId,
            "category": "StyleCategory",
            "name": "styleName",
            "label": "styleLabel",
            "image": "avatarUrl",
            "is_new": true/false,
            "featured": true
        },
        {
            "order": orderId,
            "category": "StyleCategory",
            "name": "styleName",
            "label": "styleLabel",
            "image": "avatarUrl",
            "is_new": true/false,
            "featured": true
        },...
    ]
}
curl --location 'https://pub-api.mojo.vn/srv/publish/api/art_v5/getStyle' \
--header 'Authorization: Bearer apikey,API_KEY' \
--header 'Content-Type: application/json'
  • API_KEY: Your API requests are authenticated using API keys. Any request that doesn't include an API key will return an error. Click here to Get API Key

Good to know: This API method called before using the Image Generation API. The Image Generation API necessitates an input in the form of an art style name. This specific this API delivers an array of art styles along with relevant information sourced from Mojo AI

You can see more about Mojo AI Art here

Last updated