Photos
OpenPencil searches the free photo libraries of Unsplash and Pexels from a layer's image fill. Both let anyone use their photos for free, and both ask for an API key to search them, which is free too. The key stays on your device.
Searching and using photos needs a network connection to the service you search.
Filling a Layer with a Photo
Draw the frame or shape the photo should fill, then:
- Open its fill and switch it to Image.
- Choose Stock photo in the preview.
- Before you type, the picker shows the service's own picks: Unsplash's editorial feed or Pexels' curated photos. Type what you're looking for, such as
mountainsorcoffee; more results load as you scroll. Hover over a photo, or move to it with the arrow keys, to see who took it. - Pick one. It becomes the layer's image fill and keeps the fill's scale mode, so Fill, Fit, Crop, and Tile work on it as on any image.
The service button in the picker's header switches between Unsplash and Pexels. The picker opens on the one you used last, or on one with a key when that one has none. Until a service has a key, the picker says so: choose Open Settings, open the service in Settings → Media, follow Get API key to create one, paste it, and choose Save. Test connection tries the key you typed, or the saved one, with one request to the service.
An Unsplash app has two keys: paste its Access Key, not its Secret key. A new Unsplash app allows 50 requests an hour until Unsplash approves it for production; each search, each page of results, and each test counts.
Pexels has paused issuing new API keys. If you already have a Pexels key, it still works; otherwise use Unsplash.
Credits and Keys
Unsplash and Pexels ask that photos are credited to the people who took them; the picker names the photographer of each photo. OpenPencil tells Unsplash when one of its photos is used, as its API terms require.
Change or remove the keys in Settings → Media. The AI chat's stock photo tool uses the same keys.