Relays only store text and not media. nostr.build integrates with Nostr using nip-96 https://github.com/nostr-protocol/nips/blob/master/96.md