Run in Apifox 
The request URL can also be changed to /302/gpt-image-creative/generate/7 Request parameters support two Content-Types: 
Request Body Params   application/json 
{ 
    "height" :  1024 , 
    "width" :  1024 , 
    "output_format" :  "png" , 
    "model" :  "claude-3-7-sonnet-20250219" , 
    "image_model" :  "flux-kontext-pro" , 
    "country" :  "string" , 
    "city" :  "string" , 
    "landmarks" :  "string" , 
    "date" :  "string" 
} Request Code Samples 
curl  --location  --request  POST 'https://api.302.ai/302/gpt-image-creative/generate/generate_passport_stamp'  \
--header  'Authorization: Bearer '  \
--header  'Content-Type: application/json'  \
--data-raw  '{
    "height": 1024,
    "width": 1024,
    "output_format": "png",
    "model": "claude-3-7-sonnet-20250219",
    "image_model": "flux-kontext-pro",
    "country": "string",
    "city": "string",
    "landmarks": "string",
    "date": "string"
}' Responses application/json Generate Code 
{ 
    "task_id" :  "e45ecd2a-351f-4c0a-a325-372f72469736" , 
    "status" :  "completed" , 
    "created_at" :  "2025-09-05T07:12:24.617961Z" , 
    "completed_at" :  "2025-09-05T07:12:50.695154Z" , 
    "image_url" :  "https://file.302.ai/gpt/imgs/20250905/e8e571be604e9ccd5c535f8499d284b4.png" 
} Modified at  2025-09-08 03:04:49