A newer version of the Gradio SDK is available: 6.20.0
Background images (web only)
Background replacement fetches Creative Commons photos from the Openverse API at runtime. No local images are stored or bundled.
Example prompts
replace background— random scenic queryreplace background with beach sunsetreplace background with snowy mountainsreplace background with neon city at nightreplace by northern lights— same as “replace background with …”replace background with anything— random query
Anything after with, by, or to becomes the Openverse search query. Combine with other transforms: replace background with forest and rotate.