Image model API

Professional Headshot API

flux-kontext-apps/professional-headshot is an AI-powered professional headshot generation model built on FLUX.1 Kontext Pro. It transforms a single casual photo into a polished, studio-quality business portrait while preserving the subject's identity. With customizable backgrounds, aspect ratios, and gender-aware styling, the model produces realistic, professional headshots suitable for resumes, LinkedIn profiles, company directories, and personal branding—all from a single input image. Designed for professionals, recruiters, businesses, and content creators, Professional Headshot delivers co

Model id
professional-headshot
Takes
Text (optional) + Image (required)
Makes
Image
Endpoint
POST /api/v1/images/generations
Made by
Flux Kontext Apps
Mode
Synchronous

Call Professional Headshot

Base URL https://payload.rentprompts.com/api/v1. Replace the placeholder with your key.

Model professional-headshot

POST /api/v1/images/generations

curl https://payload.rentprompts.com/api/v1/images/generations \
  -H "Authorization: Bearer rp_live_YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "model": "professional-headshot",
  "prompt": "A lighthouse at dusk, watercolor",
  "n": 1
}'

Replace rp_live_YOUR_KEY with your key, ideally via the RENTPROMPTS_API_KEY environment variable. Keys are shown only once, so they are never filled in here. Get your API key →

What a typical call costs

Worked out from Professional Headshot's published price (4.5 J / image). You pay only for successful results, from your Joule balance.
  • 1 image4.5 Joules
  • 4 images18 Joules

Send requests to POST /api/v1/images/generations. Professional Headshot answers synchronously: the result comes back in the response to the same request.

Settings

Optional parameters this model accepts (pass them in settings on /v1/run, or as top-level fields where OpenAI defines them).
NameTypeDefaultRange / options
genderselect——
backgroundselect——
aspect_ratioselect——
output_formatselect——
Professional Headshot API Pricing | RentPrompts