Muscles Photo API

The Muscles Photo API generates customized muscle images based on user-defined color selections, making it ideal for fitness applications, educational initiatives, and anatomical visualizations.

About the API: 

Muscles Photo API provides high quality customizable images of human muscles. This API is an invaluable resource for anyone wishing to visualize anatomical structures in detail, allowing users to better understand the muscular system. With its ability to generate images based on user-defined parameters, the Muscles Photo API enhances educational content, fitness applications and professional training materials.

One of the most prominent features of the Muscles Photo API is its ability to generate images that highlight individual muscles with custom colors. This functionality allows users to customize the viewing experience to their specific needs or preferences.

API Documentation

Endpoints


To use this endpoint just run it and you will get all the muscles available.



                                                                            
GET https://zylalabs.com/api/5302/muscles+photo+api/6847/muscles+available
                                                                            
                                                                        

Test Endpoint

API EXAMPLE RESPONSE

       
                                                                                                        
                                                                                                                                                                                                                            [
    "all",
    "all_lower",
    "all_upper",
    "abductors",
    "abs",
    "adductors",
    "back",
    "back_lower",
    "back_upper",
    "biceps",
    "calfs",
    "chest",
    "core",
    "core_lower",
    "core_upper",
    "forearms",
    "gluteus",
    "hamstring",
    "hands",
    "latissimus",
    "legs",
    "neck",
    "quadriceps",
    "shoulders",
    "shoulders_back",
    "shoulders_front",
    "triceps"
]
                                                                                                                                                                                                                    
                                                                                                    

Muscles Available - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5302/muscles+photo+api/6847/muscles+available' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint you must indicate muscle names for example chest,triceps.

Then you must indicate the colors you want to assign to the muscles, for example: ff0000,0f0.

You can also specify the background: 1 (transparent) and 0 (white background) by default



                                                                            
GET https://zylalabs.com/api/5302/muscles+photo+api/6848/generate+customized+muscle+color+image
                                                                            
                                                                        

Generate Customized Muscle Color Image - Endpoint Features

Object Description
muscleGroups [Required] Indicates the name of a muscle
colors [Required] Indicates the hexadecimal code of the muscle colors.
transparentBackground [Optional] Indicates the background
Test Endpoint

API EXAMPLE RESPONSE

Image

Generate Customized Muscle Color Image - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5302/muscles+photo+api/6848/generate+customized+muscle+color+image?muscleGroups=chest,triceps,shoulders&colors=ff0000,0f0,00f' --header 'Authorization: Bearer YOUR_API_KEY' 

    

To use this endpoint you must indicate muscle names for example (chest,triceps).

Next you must indicate the colors that you want to assign in RGB to the muscles, for example: 100,100,50.

You can also specify the background: 1 (transparent) and 0 (white background) by default

 



                                                                            
GET https://zylalabs.com/api/5302/muscles+photo+api/6849/muscles+by+single+color
                                                                            
                                                                        

Muscles by single color - Endpoint Features

Object Description
muscleGroups [Required] Indicates the name of a muscle
color [Required] Indicates the RGB of the muscle colors
transparentBackground [Optional] Indicates the background
Test Endpoint

API EXAMPLE RESPONSE

Image

Muscles by single color - CODE SNIPPETS


curl --location --request GET 'https://zylalabs.com/api/5302/muscles+photo+api/6849/muscles+by+single+color?muscleGroups=biceps,chest&color=100,80' --header 'Authorization: Bearer YOUR_API_KEY'