Skip to main content
When you create Tasks through the API, you submit image assets by URL. The requirements below apply before generation begins.

URLs

In all cases, URLs must meet some basic minimum requirements:
  1. All URLs must be HTTPS.
  2. URLs must reference a domain name, not an IP address.
  3. The server should respond with valid Content-Type and Content-Length headers.
  4. Redirects are not followed. If the URL returns a 3XX response code, the request is considered failed.
  5. The length of any single URL must not exceed 2083 characters.
Make sure the asset can be downloaded directly from the URL without cookies or other interactive authentication.

Content-Type

When specifying a URL, the Content-Type response header must be present, and it must match the media type of your asset. File extensions in URLs are not considered. The supported content types are listed below for each supported asset type.

User Agent

Infinite Creator will use a User-Agent header that starts with InfiniteCreator/ when making requests to your server. If you use a scraping-prevention tool or WAF, be sure to allowlist our user agent string prefix.

Type-specific requirements

Images

For fields that accept images, the asset referenced by the URL must use one of the following codecs, along with the corresponding Content-Type header: And fit the following constraints:
  • It is not recommended to provide images smaller than 640x640px or larger than 4K.
  • If your image has an EXIF Orientation flag set, we will rotate it to the correct orientation.
  • Although we don’t impose an aspect ratio limit, we crop every image to ensure that its aspect ratio falls within the range between 0.5 and 2.0 as necessary. Cropping is done from the center of the image.
Last modified on June 17, 2026