Provide a production-ready execution workflow for AIVideoMaker API v1:
aivideomaker.ai API directlyAIVIDEO_API_KEY (required) Get an API Key from https://aivideomaker.ai .AIVIDEO_TIMEOUT_MS (optional, default 30000) - Request timeout in millisecondsAIVIDEO_MAX_RETRIES (optional, default 3) - Max retries for idempotent read requestscreateGenerationgetTaskgetStatuscancelTaskt2vi2vlvt2v_v3i2v_v3data:image/...;base64,... for i2v, lv, and i2v_v3.data:image/...;base64,... for reliability in OpenClaw environments.createGeneration.getStatus with backoff until terminal status.COMPLETED, call getTask and return output.FAILED, return failure with actionable next steps.ok, status, taskId, data, errorCode, errorMessage, retryAfterINVALID_MODELINVALID_PAYLOADAUTH_FAILEDRATE_LIMITEDINSUFFICIENT_CREDITSTASK_NOT_FOUNDNETWORK_ERRORUNKNOWN_ERRORnode scripts/run-workflow.mjs --model --payload '' node scripts/run-workflow.mjs --action getStatus --taskId node scripts/run-workflow.mjs --action getTask --taskId node scripts/run-workflow.mjs --action cancelTask --taskId This skill only performs the following actions:
--payloadAll network requests are made to https://aivideomaker.ai (or an optional custom base URL configured via client options) and include only the API key for authentication.
Security Best Practices:
AIVIDEO_API_KEY as an environment variable共 1 个版本