Uploading assets
Upload local reference images, videos and audio directly to i2v.ai storage and check their metadata.
Upload a local file
Pass existing public URLs directly in inputs.uploadedUrls. For a local file, ask i2v.ai for a signed storage ticket, PUT the bytes to storage, then use the public URL from the ticket. Both types of URL can appear in the same array.
API=https://api.i2v.ai
TICKET=$(curl --fail-with-body -sS "$API/api/v1/uploads" \
-H "Authorization: Bearer $I2V_API_KEY" \
-H 'Content-Type: application/json' \
--data '{"fileName":"reference.png"}'

