Generation

Ask for new generated faces

Deprecation notice

This endpoint is deprecated. We recommend using alternative endpoints to ensure continued support and compatibility.

Use the following endpoints:

  • /ask_random_face -> random identities
  • /ask_new_expression -> change expressions
POST
/api/ask_generate_faces
AuthorizationBearer <token>

In: header

id_image?string
id_face?integer
id_generation?integer
prompt?string
description_type?string
guidance_scale?string
prompt_strength?string
controlnet_scale?string
seed?integer
num_generations?integer
flag_sync?boolean
identity_name?string
keep_identity?boolean
options?string
num_inference_steps?integer
flag_blending?boolean
face_enhancer_name?string
image_size?integer

Response Body

Examples

curl -X POST "https://api.piktid.com/api/ask_generate_faces" \
  -H "Content-Type: application/json" \
  -d '{}'
Empty
Empty
Empty
Empty
Empty