Upload or import photos (straightened, color-corrected, resized and stripped of location data for you), describe them, edit them, put them in albums, and the gym's own avatars.
Ask it in plain words
"Here are five photos from Saturday's open gym: add them to the gallery."
Put a photo on the website, everything done for you: it is straightened, color-corrected (a headshot is also framed so the face is centered), resized for phones and computers, converted to a fast format, stripped of camera and location data and checked for duplicates. You write its description from what you see. Use this whenever the owner attaches a photo in the chat (ChatGPT passes it as image). Pick the purpose from what the owner says and what the photo shows (a single coach's face = coach_headshot, a coach on an obstacle = coach_action, a group in team shirts = team, otherwise gallery); ask when it's unclear, and ask which coach or product when that's needed. If this app can't hand the photo over, use request_photo_upload instead.
Parameter
Type
Description
image
object
The photo the owner attached in this chat (ChatGPT hands it over as a file).
image.download_urlrequired
string
The attached file's download link, as the chat app hands it over
Where it goes (default gallery): page = a picture for a page you build in Website > Pages (kept in your library only; use it in a section as /media/u/<photo_id>-1000.webp); gallery = the Photos page (also the home page's photo row while it has room); coach_action = a coach on the course (their card and the Photos page); coach_headshot = the round picture on a coach's card; team = a team photo; home_hero = the big picture at the top of the home page; classes_page / pricing_page / competitions_page = the picture at the top of that page; party_room = the Birthday parties page (up to 4); product = a shop product's photos (up to 10); event_flyer = the flyer or picture of a special event (name it in event); avatar = one of the gym's own avatars that athletes pick as their profile picture (description = its short name, like Rocket Raccoon)
coach
string
The coach's name, for coach_headshot and coach_action
product
string
The product's name, for product
event
string
The special event's title, for event_flyer
description
string
Required with image or image_base64 (not for a headshot or product): one plain sentence you write from the photo saying what happens in it, for visitors who can't see it and for Google. Never guess anyone's name, age or traits.
image_url
string
Instead of image: an https link straight to the picture file
image_base64
string
Instead of image: the JPEG, PNG or WebP file, base64-encoded (up to about 3 MB)
Get a link for the owner to upload photos ChangesWeb developer
A private link (good for an hour) where the owner picks photos from their phone or computer: up to 20 at once for the Photos page, coaches in action and team photos, 4 for the party room, 10 for a product, 1 for a headshot, a page's top picture or a special event's flyer. Each photo is prepared exactly like upload_photo. Use it when the photo can't be handed over in the chat (for example in Claude, or for many photos at once). When the owner says they're done, call photos_to_describe: it shows you the new photos so you can write each description and save it with update_photo.
Where they go (default gallery): page = a picture for a page you build in Website > Pages (kept in your library only; use it in a section as /media/u/<photo_id>-1000.webp); gallery = the Photos page (also the home page's photo row while it has room); coach_action = a coach on the course (their card and the Photos page); coach_headshot = the round picture on a coach's card; team = a team photo; home_hero = the big picture at the top of the home page; classes_page / pricing_page / competitions_page = the picture at the top of that page; party_room = the Birthday parties page (up to 4); product = a shop product's photos (up to 10); event_flyer = the flyer or picture of a special event (name it in event); avatar = one of the gym's own avatars that athletes pick as their profile picture (description = its short name, like Rocket Raccoon)
coach
string
The coach's name, for coach_headshot and coach_action
product
string
The product's name, for product
event
string
The special event's title, for event_flyer
description
string
Only when the owner already said what the (first) photo shows; otherwise the website writes descriptions itself
Crop, zoom, turn or brighten a photo, change its background, or edit a coach's headshot Changesdry_run
Edit one of the gym's photos like a photo app: crop it to a shape, zoom in on what matters, turn, mirror or straighten it, make it brighter or more colorful, or put the people on a plain background (a studio look for coach cards and flyers). With coach, edit that coach's headshot the same way (Coaches > Edit Headshot). Saving makes an edited copy (the original stays for History) and, by default, puts it everywhere the original was on the website, including the pages built in Website > Pages (their live page and draft; built_pages lists them, and each can be put back with restore_change). Describe the edit and ask first; use dry_run to check.
Parameter
Type
Description
photo
string
photo_id from list_photos, or a picture address from list_pictures (the gym's own photos only). Not needed with coach
coach
string
Edit this coach's headshot instead (the name from get_coaches): it is cut square from the coach's original photo and shown in a circle; zoom, center_x / center_y, light and background apply, and earlier headshot edits are kept unless changed
background
string
Put the people in the photo on a plain background: white, light_gray, your_color (the gym's brand color), your_dark_color, or a color like #1e90ff; keep = the photo's own. Works best on photos of people. A photo with a new background is saved as a new photo unless everywhere is true
Crop to a shape: wide 16:9 (page tops), square (cards), tall 4:5 (social posts), phone 9:16 (stories). Default original
zoom
number
1 = the whole photo fits the shape; 2 = twice as close. It stops before the photo would look blurry
center_x
number
What to keep in the middle, 0-100 % across (50 = middle)
center_y
number
0-100 % down (50 = middle; faces are often 30-40)
turn
string: none | right | left | upside_down
Turn the photo a quarter right, a quarter left or upside down
mirror
boolean
true flips the photo left to right
straighten
number
Degrees, -15 to 15: tilt to make a crooked photo level (+ turns it clockwise)
look
string: original | brighter | vivid | soft | black_and_white
A color look: brighter, vivid, soft or black and white; original undoes them
brightness
number
Percent, 50-150 (100 = unchanged); overrides look
contrast
number
Percent, 50-150
color
number
Percent, 0-200 (0 = black and white)
everywhere
boolean
Default true (false with a new background): the edited photo replaces the original everywhere the site uses it. false = only add the edited copy to the library (then use_as with update_photo, or list_pictures + update_page, to place it)
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Change a photo's description or where it shows Changesdry_runWeb developer
Fix the description of an uploaded photo (it changes everywhere the photo appears), also show a photo somewhere else (such as the big picture at the top of the home page), or change its framing and zoom: the spot pages keep in view and how far they zoom in, like a coach's card background with heads cut off (Frame & Zoom in the back office). Get photo_id from list_photos or upload_photo's answer; for framing, a picture address from list_pictures works too.
Parameter
Type
Description
photo_idrequired
string
The photo's id, from list_photos
description
string
A new one-sentence description of what the photo shows
Also show it here: page = a picture for a page you build in Website > Pages (kept in your library only; use it in a section as /media/u/<photo_id>-1000.webp); gallery = the Photos page (also the home page's photo row while it has room); coach_action = a coach on the course (their card and the Photos page); coach_headshot = the round picture on a coach's card; team = a team photo; home_hero = the big picture at the top of the home page; classes_page / pricing_page / competitions_page = the picture at the top of that page; party_room = the Birthday parties page (up to 4); product = a shop product's photos (up to 10); event_flyer = the flyer or picture of a special event (name it in event); avatar = one of the gym's own avatars that athletes pick as their profile picture (description = its short name, like Rocket Raccoon)
coach
string
The coach, for coach_action
event
string
The special event, for event_flyer
center_x
number
Framing: the spot every page keeps in view when it crops the photo, percent across (0 left, 100 right). Use when a head or the action is cut off.
center_y
number
Framing: percent down (0 top, 100 bottom); 20-35 keeps faces in a group shot
zoom
number
Zoom in on that spot, 1 (none) to 3. The file isn't changed; edit_photo makes a cropped copy instead.
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Group Photos page photos into albums: photos in the same album show together under the album's name on the Photos page, with links to each album at the top. Send an empty album to take photos out of their album. Same as Select Several > Put in Album on the back office's Photos page.
Parameter
Type
Description
photosrequired
array of string
photo_id values from list_photos, or picture addresses of NinjaHQ's photos from list_pictures
album
string
The album's name, for example Birthday parties. Empty takes the photos out of their album.
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
See uploaded photos that still need a description ReadsWeb developer
Shows you (as images) up to 6 uploaded photos whose description is still a placeholder, usually ones the owner added through an upload link. Look at each, write one plain sentence about what happens in it (never guessing anyone's name, age or traits), and save it with update_photo. If one isn't right for a family gym's public website, tell the owner and offer to remove it.
Photos added through this connector, newest first: id, what they show (the description), where they are used, and whether the description is still a placeholder. A photo that was taken off the site stays listed as kept for History until it is deleted for good.
Take an uploaded photo off the site (a headshot goes back to the coach's initials). Ask the owner to confirm first. It can be put back from History, because the photo itself is kept. Only when the owner wants it gone completely, send delete_permanently: true as well: that cannot be undone.
Parameter
Type
Description
photo_idrequired
string
The photo's id, from list_photos
confirm
boolean
Must be true, after the owner has said yes
delete_permanently
boolean
true = also delete the stored photo for good (owners only). It can then NOT be put back from History. Only when the owner asks to delete it completely.
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
The gym's own avatars (pictures athletes pick for their profile, registration and family account), with how many athletes picked each, and NinjaHQ's built-in avatars (key, name, group: Badges, Animals, Silly or Athletes) with whether this gym hides them, plus drawing_request: the words to give an AI that draws pictures (ChatGPT, Gemini) so every avatar matches the set. Use it when the owner wants to make, see or change their avatars.
Parameter
Type
Description
subject
string
Optional: what the next avatar should show (for example "our mascot Rocket the raccoon on the warped wall"); the answer's drawing_request uses it
Rename one of the gym's own avatars, or hide or show avatars in this gym's pickers: its own (id) or NinjaHQ's built-in ones (id or ids = their keys; they keep their names). Owners and managers. Nothing is deleted, and athletes who picked a hidden one keep it.
Parameter
Type
Description
id
string
The gym's own avatar's id, or one of NinjaHQ's avatars' key, from list_avatars
ids
array of string
Instead of id: several of NinjaHQ's avatars' keys to hide or show at once (for example every Silly one)
name
string
A new short name (40 characters at most)
hidden
boolean
true takes it out of the picker (athletes who picked it keep it); false shows it again
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Add pictures from https links when they can't be attached in the chat: the website downloads each one (public web addresses only, 10 seconds and 4 MB at most, it must be an image) and prepares it exactly like upload_photo (straightened, color-corrected, resized, camera and location data removed, duplicates found). Up to 20 links in one call with urls; each gets its own result. Only use a picture the gym owns or has the right to use (its own photos and logo, or ones it licensed); never one copied from someone else's website. Owners and the web developer.
Parameter
Type
Description
url
string
One https link straight to a picture file
urls
array of object
Instead of url: up to 20 links, each a string or { url, description }
urls[].url
string
The picture's https:// address
urls[].description
string
One plain sentence about what the photo shows, for screen readers
Where they go, as for upload_photo (default gallery); logo, logo_on_dark and favicon set the site's logo or icon (one link)
coach
string
The coach's name, for coach_headshot and coach_action
event
string
The special event's title, for event_flyer
description
string
One plain sentence about what the photo shows, when you know (one link). Without one the photo gets a placeholder; then look at it with photos_to_describe and save a description with update_photo.