Input Parameters and Schema
input_values is the task’s input parameter object. Keys follow the format NodeID:NodeName.FieldName, and values can be strings, numbers, booleans, etc. The available fields depend on the workflow structure associated with the web_app_id.
How to find the schema
- Go to the BizyAir AI Apps page
- Click the target AI app to open its detail page
- Click the
APIbutton in the top-left corner - In the API call dialog, review the full list of
input_valuesfields and their example values - Switch to the
Shell/Python/JavaScripttabs to copy a complete code snippet
Common field patterns
File Upload
When a workflow requires images, audio, or video as input (e.g. image-to-image, image-to-video), you must first upload the file to BizyAir OSS, then pass the returnedurl as the value of the corresponding input_values field.
Step 1: Get upload credentials
file_name must include the file extension — the server uses it to determine the file type. The returned STS credentials are temporary; do not persist them or expose them in frontend code.Step 2: Upload the file to Alibaba Cloud OSS
Use the returned credentials to PUT the file directly to OSS. See Alibaba Cloud OSS Simple Upload for details. Python example:Step 3: Register the input resource
After the OSS upload succeeds, call thecommit endpoint to register the file and obtain a url that the workflow can reference.
url can then be passed as the value of the corresponding field in input_values when creating a task.
Output Files and Object URLs
After a task completes successfully,outputs[].object_url provides a temporary download link for the result file:
- Domain:
https://storage.bizyair.ai/outputs/... - Default validity: 15 days (the
expired_atfield in the response gives the exact time) - After expiry: cannot be recovered
Task Duration Breakdown
The task result includes acost_times object with detailed durations for each stage (in milliseconds):
Billing is based solely on
inference_cost_time (the inference phase). All other stages are free of charge.