{
"enable_base64_output": false,
"enable_sync_mode": false,
"prompt": "A vintage 1860s sepia-toned daguerreotype photograph. It depicts a serious Abraham Lincoln sitting in a formal chair, wearing his traditional suit and top hat, but he is wearing large, colorful, modern DJ headphones around his neck and holding a shiny silver microphone. The photo has scratches, dust particles, and heavy vignette typical of the 19th century, but the modern equipment looks physically present in the scene, not just pasted on.",
"seed": -1,
"size": "1024*1024"
}curl --location --request POST 'https://api.302.ai/ws/api/v3/wavespeed-ai/flux-2-flex/text-to-image' \
--header 'Authorization: Bearer ' \
--header 'Content-Type: application/json' \
--data-raw '{
"enable_base64_output": false,
"enable_sync_mode": false,
"prompt": "A vintage 1860s sepia-toned daguerreotype photograph. It depicts a serious Abraham Lincoln sitting in a formal chair, wearing his traditional suit and top hat, but he is wearing large, colorful, modern DJ headphones around his neck and holding a shiny silver microphone. The photo has scratches, dust particles, and heavy vignette typical of the 19th century, but the modern equipment looks physically present in the scene, not just pasted on.",
"seed": -1,
"size": "1024*1024"
}'{
"code": 200,
"message": "success",
"data": {
"id": "14110bbc39224efcb7d72cac4ccca534",
"model": "wavespeed-ai/flux-2-flex/text-to-image",
"outputs": [],
"urls": {
"get": "https://api.302.ai/ws/api/v3/predictions/14110bbc39224efcb7d72cac4ccca534/result"
},
"has_nsfw_contents": [],
"status": "created",
"created_at": "2025-11-26T07:47:13.975Z",
"error": "",
"executionTime": 0,
"timings": {
"inference": 0
}
}
}