Create LCM Generation
Develop Env
https://dev.your-api-server.com
Develop Env
https://dev.your-api-server.com
POST
/api/rest/v1/generations-lcm
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://dev.your-api-server.com/api/rest/v1/generations-lcm' \
--header 'content-type: application/json' \
--data-raw '{
"imageDataUrl": "string",
"prompt": "string"
}'
Response Response Example
{
"lcmGenerationJob": {
"imageDataUrl": [
"string"
],
"requestTimestamp": "string",
"apiCreditCost": 0
}
}
Request
Header Params
content-type
string
required
Example:
application/json
Body Params application/json
Responses
Modified at 2024-07-29 08:14:10