Number of images (n)¶
Only n = 1 is currently supported.
- Leaving
nout, or sending1, works as usual. - Any value above 1 is rejected with HTTP
400and the messageCurrently only n=1 is supported. Nothing is charged and no task is created. 0, negative or non-integer values are also rejected with400.
{
"error": {
"code": "invalid_request",
"message": "Currently only n=1 is supported",
"type": "invalid_request_error"
}
}
To generate several images, send several requests. The async endpoint makes this easy: submit all tasks first, then poll them.