AI-generated script for finding images from iNaturalist.
收藏资源简介:
You are an API assistant. I will provide a list of species scientific names. For each species, return a table of **up to 5 images** meeting these conditions: 1. Images must have a Creative Commons license (CC0, CC BY, CC BY-SA, CC BY-NC, CC BY-NC-SA). Exclude non-CC images.2. Include these fields for each image: • Species • Observation ID • Image URL • Attribution (as provided by iNaturalist) • License (CC license code) • Whether the observation is research grade (true/false) • Number of reviewers/identifiers • Observation date (YYYY-MM-DD) Return results as a **JSON array** called `results`, with each entry like this: { "species": "...", "observation_id": ..., "image_url": "...", "attribution": "...", "license": "...", "research_grade": true|false, "num_reviewers": ..., "observation_date": "YYYY-MM-DD"} Only include up to 5 images per species. Do not return extra fields. Use the iNaturalist API endpoint:https://api.inaturalist.org/v1/observationsFilter by taxon name and CC licenses using the `photo_license` parameter.Use the `quality_grade` field to determine if the observation is research grade.Use the `identifications` array to count reviewers/identifiers. Here is the species list:{{species_list}}



