Skip to main content
Use a presigned upload URL when your input media is not already available through a public HTTPS URL.

1. Create an upload URL

The upload URL expires after one hour.

2. Upload the file

Send the file to upload_url with every header returned in upload_headers.
Do not send Higgsfield API credentials to the presigned storage URL.

3. Use the public URL

Pass public_url in the model parameter that accepts an input URL, such as image_url, video_url, or audio_url.

Supported content types

  • image/jpeg, image/jpg, image/png, image/webp, image/gif
  • audio/wav, audio/x-wav
  • video/mp4
The content type used for the upload must match the value used to create the presigned URL.