api/image: rename to graph