Make responsive image sizes (srcset) in AVIF
Turns each image into several widths for a responsive srcset, here 480, 960 and 1600 px in AVIF. Each width is one file in the key-value store and one row in the dataset; widths larger than the image are not enlarged. This example uses a NASA photo.
Input
Output fields
Sign up on Apify or log in
The Image Converter & Compressor: WebP, AVIF, JPEG, PNG in Bulk Actor is ready to run with the inputs already set for "Make responsive image sizes (srcset) in AVIF". Sign up or log in and you'll land in Apify Console with a copy of this exact task.
Start the "Make responsive image sizes (srcset) in AVIF" task
The Image Converter & Compressor: WebP, AVIF, JPEG, PNG in Bulk Actor will start running based on the input automatically. You can also change all the input fields, like images, output format, and more, to match your specific use case.
Receive the "Make responsive image sizes (srcset) in AVIF" output
Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as #, source, status, and more.
Integrate into your workflow
The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Make responsive image sizes (srcset) in AVIF" task via API.

Integrate "Make responsive image sizes (srcset) in AVIF" into your workflow
Connect "Make responsive image sizes (srcset) in AVIF" with 100+ integrations, or run it via API or MCP.
Webhook
n8n
Make
Zapier
Airbyte
Keboola
IFTTT
Hubspot
GDrive
Gmail
Apify MCP
GitHub
Slack
LangChain
LlamaIndex
Flowise
Pinecone
OpenAI
Mastra
Clay
The srcset task makes one file per width in 'Responsive widths' for each image, here three. Widths not smaller than the image are made once at its original size.
Yes. Set 'Output format' to WebP in the srcset task; WebP encodes faster and works in all modern browsers.
The srcset task charges $0.002 per output file up to 16 megapixels on the Free plan, less with Store discounts, so three widths of one image cost $0.006. Failed images are free.