Returns an image with two sets of muscle groups highlighted in different colors. Perfect for showing primary and secondary muscle activation in exercises.
curl --request GET \
--url https://muscle-visualizer-api.p.rapidapi.com/api/v1/visualize/workout \
--header 'X-RapidAPI-Key: <api-key>'"<string>"Enter your RapidAPI key in the X-RapidAPI-Key header.
Comma-separated list of primary/target muscles
1"CHEST,TRICEPS"
Hex or RGB color for target muscles (no alpha)
^(#[0-9A-Fa-f]{6}|rgb\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*\))$"#E74C3C"
Comma-separated list of secondary muscles
1"SHOULDERS,BACK"
Hex or RGB color for secondary muscles (no alpha)
^(#[0-9A-Fa-f]{6}|rgb\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*\))$"#F39C12"
Body type to display
male, female "male"
Background style: 'white', 'transparent', HEX color (e.g., '#f0f0f0'), or RGB color (e.g., 'rgb(240, 240, 240)'). No alpha channel allowed.
^(white|transparent|#([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})|rgb\(\s*\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}\s*\))$"white"
Image dimensions - small (360x360), medium (480x480), large (720x720), xlarge (1080x1080)
small, medium, large, xlarge "medium"
Output image format
jpeg, png, webp "jpeg"
Successfully generated workout visualization image
The response is of type file.
Was this page helpful?
curl --request GET \
--url https://muscle-visualizer-api.p.rapidapi.com/api/v1/visualize/workout \
--header 'X-RapidAPI-Key: <api-key>'"<string>"