Url Picsum Photos生成器

Url Picsum Photos生成器 · image.urlPicsumPhotos. 生成方法 · 示例

image.urlPicsumPhotos

生成设置

生成后在这里查看结果。

参数 & 示例

Generates a random image url provided via https://picsum.photos.

image.urlPicsumPhotos(options?: { width?, height?, grayscale?, blur? })
options
Options for generating a URL for an image.
options.width
The width of the image. Defaults to a random integer between 1 and 3999.
options.height
The height of the image. Defaults to a random integer between 1 and 3999.
options.grayscale
Whether the image should be grayscale. Defaults to a random boolean value.
options.blur
Whether the image should be blurred. 0 disables the blur. Defaults to a random integer between 0 and 10.

示例

"https://picsum.photos/seed/qlQ9aNJrQ/2672/546"

请在测试环境使用合成数据。

相关生成器

探索场景模板