curl --location --request POST 'https://api.omnapi.com/api/v1/producer/generate/image' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"prompt": "string",
"config": {
"priority": 5,
"webhookUrl": "http://example.com",
"tags": [
"string"
],
"metadata": {}
}
}'{
"taskId": "string",
"status": "PENDING",
"creditsReserved": 0,
"estimatedCompletionTime": null
}