Skip to main content
Core.Today
|
Black Forest LabsFastHigh

Professional Headshot

Turn any single photo into a polished professional business headshot, powered by FLUX.1 Kontext [pro]. Pick a background — white, black, gray, neutral, or office — and get a LinkedIn-ready portrait in one step.

93 credits
per image (fixed)
One photo in, professional headshot out — no studio required
FLUX.1 Kontext [pro] app tuned specifically for business portraits
5 background presets: white, black, neutral, gray, office
Optional gender hint for more accurate rendering
14 aspect ratios including match_input_image

Run it right now

Test this model instantly in the Console Playground — no code required

Sign in to try

Use with AI Assistant

Copy usage instructions for Claude, ChatGPT, or other AI

Quick Start

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "flux-kontext-apps/professional-headshot",
  "input": {
    "input_image": "https://example.com/casual-photo.png",
    "gender": "female",
    "background": "neutral",
    "aspect_ratio": "1:1"
  }
}'

Parameters

ParameterTypeRequiredDefaultDescription
seedintegerNo-Random seed. Set for reproducible generation
genderstringNononeThe gender of the person (optional hint)
nonemalefemale
backgroundstringNoneutralThe background of the headshot
whiteblackneutralgrayoffice
input_imagestringYes-Image of the person to create a professional headshot for (jpeg, png, gif, or webp)
aspect_ratiostringNomatch_input_imageAspect ratio of the generated image. 'match_input_image' keeps the input's ratio
match_input_image1:116:99:164:33:43:22:34:55:421:99:212:11:2
output_formatstringNopngOutput format for the generated image
jpgpng
safety_toleranceintegerNo2Safety tolerance, 0 is most strict and 2 is most permissive. 2 is currently the maximum allowed.

How to Provide File Input

There are 3 ways to provide files for the input_image parameter:

Recommended

Direct Upload (Multipart)

Attach files directly to POST /v1/predictions/upload. No separate upload step needed.

curl -X POST "https://api.core.today/v1/predictions/upload" \
  -H "X-API-Key: cdt_your_api_key" \
  -F "model=flux-kontext-apps/professional-headshot" \
  -F 'input={"prompt":"your prompt here"}' \
  -F "file:input_image=@your_file.png"

Image URL

Pass a publicly accessible URL directly. You can also use file_url from the Storage API.

{
  "model": "flux-kontext-apps/professional-headshot",
  "input": {
    "prompt": "your prompt here",
    "input_image": "https://example.com/image.jpg"
  }
}
See the File Upload docs for more upload methods including Presigned URLs.

Common Parameters

Common parameters used when calling POST /v1/predictions.

ParameterTypeRequiredDefaultDescription
modelstringYes-Model identifier
inputobjectYes-Object containing the model-specific parameters from the table above
output_folderstringNo-Folder path for output files (max 256 chars, '..' not allowed)
webhook_urlstringNo-Webhook URL to call on completion
is_publicbooleanNofalseIf true, output files are also available via permanent public URLs

Examples

Neutral Background Headshot

A square business headshot on a neutral background from one casual photo

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "flux-kontext-apps/professional-headshot",
  "input": {
    "input_image": "https://example.com/casual-photo.png",
    "gender": "female",
    "background": "neutral",
    "aspect_ratio": "1:1"
  }
}'

Office Background for Team Page

Use the office background and a fixed seed for a consistent team look

curl -X POST "https://api.core.today/v1/predictions" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: cdt_your_api_key" \
  -d '{
  "model": "flux-kontext-apps/professional-headshot",
  "input": {
    "input_image": "https://example.com/selfie.jpg",
    "background": "office",
    "aspect_ratio": "4:5",
    "seed": 42
  }
}'

Tips & Best Practices

1A clear, front-facing photo with the face well lit gives the most faithful headshot
2Use 'neutral' or 'gray' backgrounds for LinkedIn; 'office' adds a corporate environment feel
3Processing a whole team? Keep background and aspect_ratio identical across runs for a uniform look
4aspect_ratio defaults to match_input_image — set '1:1' or '4:5' explicitly for profile crops
5Only use photos of real people with their consent

Use Cases

LinkedIn and resume profile photos
Company website team pages with a consistent look
Speaker and conference bio portraits
Sales and real-estate agent profile photos
Press kit and about-page headshots

Model Info

ProviderBlack Forest Labs
Version-
CategoryImage Generation
Price93 credits

API Endpoint

POST /v1/predictions
Try in ConsoleBack to Docs