atlasTextToImage
Submit the atlasTextToImage task
/api/v2/tasks:atlasTextToImageAuthentication WLT-Api-Key
Generate world-oriented image inputs from a prompt, then persist the operation ID and the resolved prompt and seed. Read the guide.
Query parameters
waitbooleanBlock for the operation to finish before returning, up to the server wait cap. Returns the Operation either way — done with a response if it finished in time, otherwise still running.
falseHeaders
Idempotency-Keystring | nullOptional idempotency key.
length <= 128Request body
application/jsonRequired
Body of POST /api/v2/tasks:atlasTextToImage.
webhookUrlstring | nullWhere Marble POSTs one signed task.succeeded or task.failed event when this operation finishes; retried for 24 hours. Verify the signature with the public keys at /.well-known/webhooks/jwks.json. Cannot be combined with ?wait=true. https on port 443 only, no IP literals. Developer API only.
length <= 2048purgeContentOnOperationCompletionboolean | nullPurge this operation's outputs and the transient uploads it consumed one hour after it finishes. Omitted, the account's setting applies; true raises it for this operation; false is refused when the account already purges. Uploads in the library are never purged by an operation.
promptstringrequiredText prompt to generate from.
1 <= lengthaspectRatiostring | nullOutput width-to-height ratio. Omit for the model default.
"16:9", "9:16", "4:3", "3:4", "1:1"enhancePromptbooleanWhether to enhance the prompt before generation. Defaults to true.
trueseedinteger | nullOptional RNG seed.
numStepsinteger | nullDiffusion step count.
1 <= value <= 100numSamplesinteger | nullNumber of images to generate.
1 <= value <= 4returnDepthbooleanAlso estimate depth per image (metric, single-view): every frame in frames then carries a depth buffer and the camera it was estimated under.
falseResponses
201
Successful Response
application/json
Long-running operation whose successful terminal response has type AtlasTextToImageResponse. This is the common Operation envelope with a task-specific response type, not a separate operation resource.
idstringrequiredShort operation id used in /operations/{operation} paths.
ownerIdstringrequiredAccount that owns the operation.
metadataobject | nullTask information and optional progress details. Use metadata.task to interpret a generic operation response, and use done to determine completion.
donebooleanrequiredWhether the operation is terminal. When true, a non-null error indicates failure; otherwise the operation succeeded.
errorOperationError | nullFailure details when done is true and the task failed; null while running and after success.
expiresAtSecsinteger | nullTask execution deadline as Unix seconds, when one is exposed. This is not an asset URL expiration.
createdAtSecsinteger | nullUnix seconds when the operation was accepted.
responseAtlasTextToImageResponse | nullAtlasTextToImageResponse result when done is true and the task succeeded; null while running and after failure.
namestringrequiredFull resource name for the operation.
For project operations:
accounts/{account}/projects/{project}/operations/{operation}.
Operation paths accept the short id.
422
Validation Error
application/json
detailarray<ValidationError>Request example
Completed operation