How do you know which npubs are DVMs that provide this service? Or is it just one npub hard coded in the app?
query with NIP-89 for events that support 65002 (DVM image generation): { kinds: [31990], "#k": ["65002"] } or just publish a 65002 event and let the DVMs come to you.
For example, on Highlighter this is how I'm allowing users to choose a DVM for "Suggested Content" What's on the dropdown is results from a NIP-89 query for #k 65008 (nostr content discovery); when the user chooses one of those it creates a 65008 event `p` tagging that DVM. What's behind the dropdown is the rendered result of the tags the DVM sent back. If other DVMs respond to the query I can show a badge on top so the user can cycle through different DVM's results of content discovery. Right now both results are from different DVMs I run, but when Semi finishes his stuff that will be another DVM, and anyone can extend the functionality of Highlighter (and any other nostr client) without touching it's codebase https://image.nostr.build/1f059d3eb73d7b7b9aea799a7f89ee5ef0a7f80d47c7b18acda3d31668cc92ad.png
@PABLOF7z responded with the answer. At times he meses up the event kinds.. :) Image Generation event kind is 65005. https://vendata.io/dvms shows all the DVMs.. find the kind 31990 event that says it supports 65005. We are furiously working on to expanding the support to list all 31990 with support for 65xxx I will share with you some docs next week to show the architecture and workflow. {"created_at":1693518654,"content":"{\"name\":\"Love AI Image Gen\",\"image\":\"https://i.current.fyi/help/Screenshot+2023-05-10+at+10.18.33+PM.png\",\"about\":\"Generate image\",\"nip90Params\":{\"relay\":{\"required\":true,\"values\":[\"wc1.current.ninja\"]}}}","tags":[["k","65005"],["d","pomi8fh9bxpntgfy"]],"kind":31990,"pubkey":"c70735fa4b01f77f953883a6e671982e31bd7d906b2b6111a6f518555bed1b1a","id":"82ac9efbff7822cc7375858d4c4b6c398e75331d5df637bb5c6abab68da350f7","sig":"e27f5f56cd592a6af63d8168a16bc64bbbacdef0823f6ec43e6f58d950e79d66d12f5008eba559a728b8d1f195436d49ce5f2c29d9f9d9c15a0708942f16236e"}