Query the current status, creation parameters, and returnable ScriptList information of a single Directing World. For build-progress polling, use the Query World Build Status endpoint.
Scope
Query the current status, creation parameters, and returnable ScriptList information of a single Directing World. Before calling, confirm the following:
-
Authentication: Only the primary API Key is supported; temporary API Keys cannot be used (error code
403003).- Get the primary API Key: Get and configure an API Key.
-
Prerequisites: Query with the
encryptedWorldIdreturned by Create World. For build-progress polling, use Query World Build Status. - Caller: Called by your server.
HTTP request
- Singapore
- US (Virginia)
GET https://{WorkspaceId}.ap-southeast-1.maas.aliyuncs.com/api/v2/apps/happyoyster-1.0-directing/openapi/v1/worlds/detailReplace {WorkspaceId} with your actual Workspace ID.Request parameters |
|
Authorization string (Required)API Key authentication. Only the primary API Key is supported; it starts with sk-, e.g. sk-xxx. It is typically configured as the environment variable $DASHSCOPE_API_KEY. A temporary API Key (starting with st-) returns 403003. | |
Query parameters | |
encryptedWorldId string (Required)A Directing encrypted World ID under the current primary account. Returned by Create World. |
Response parameters |
|
code integerReturn code. 0 means success; non-zero is an error code. | |
message stringError message. null on success. | |
data objectResponse data. null on failure.
Properties encryptedWorldId stringEncrypted World ID.name stringWorld name.status stringBuild status: generating / ready / failed.mode integerAlways 2 for Directing.creationModel stringsimple / scriptlist; determines which control endpoints the Travel can call.prompt stringThe Prompt used when creating in simple mode; fixed to null for scriptlist.eventStyle stringThe event style at creation: normal / dramatic / regular.perspective nullUsually null for the Directing model.uploadMode nullUsually null for a Directing World.resolution string480p / 720p.layout stringThe camera-movement style for simple mode; usually null when not passed or for scriptlist.narrative stringThe narrative style for simple mode; usually null when not passed or for scriptlist.refWorldId stringThe encrypted reference World ID used for a derived creation.firstFrameImage objectThe first-frame image at creation; base64 is not returned in the response.inputImages arrayThe reference images persisted when creating in simple mode; scriptlist does not accept this field, so it is usually null.scriptList objectHas a value only for a scriptlist World; null when parsing the structured script fails. Contains synopsis, videoTitle, scene, style, speed, language, setting, soundtrack, prologue, videoTags, subjects (with label/name/type/refImage, etc.), and acts (returned in full according to the stored content, with turn/content/cameraType/shotSize/cut).previewUrl nullCurrently fixed to null.aspectRatio nullFixed to null for the Directing model.createdAt stringCreation time, in ISO 8601 format.updatedAt stringLast update time, in ISO 8601 format. |
Prerequisite states and call notes
- This endpoint can query a
generating,ready, orfailedWorld. - It does not echo the
asyncfield from the creation request. - Image fields return only URL and
referenceType, and never return base64. TheinputImagesforsimplemode are persisted as reference images and can be returned in the detail;scriptlistdoes not accept this field. - When
scriptListparses normally, the full stored structure is returned, andactsis returned in full according to the stored content; when parsing fails,scriptList=nullis returned, and an emptyactsis not used to indicate a parsing failure. - Querying a World from another model, another primary account, or one that has been deleted all return
403001, without revealing whether the resource exists.
Error codes
If the model call fails and returns an error, see HappyOyster Error Codes to resolve it.
Next steps
- Query World List: paginate through all Directing Worlds.
- Delete World: delete a World you no longer use.
- When the World is
ready, you can Get Travel Credential.