API Docs
Everything you need to integrate Name to Avatar into your application
Send an API key in the x-api-key header to authenticate generation requests and access your private avatar records.
Everything you need to integrate Name to Avatar into your application
Send an API key in the x-api-key header to authenticate generation requests and access your private avatar records.
curl "https://nametoavatar.com/api/v1/names?name=Marie&language=fr&gender=female&page=1"curl https://nametoavatar.com/api/v1/names/<nameId>curl "https://nametoavatar.com/api/v1/names/<nameId>/avatars?style=professional&page=1"curl https://nametoavatar.com/api/v1/names/random{
"country": "Japan",
"gender": "female"
}curl -X POST https://nametoavatar.com/api/v1/names \
-H "Content-Type: application/json" \
-d '{"country": "Switzerland", "gender": "female"}'curl "https://nametoavatar.com/api/v1/avatars?gender=female&style=professional&country=Japan&page=1"curl https://nametoavatar.com/api/v1/avatars/<avatarId>curl https://nametoavatar.com/api/v1/avatars/random{
"name": "Yuki Tanaka",
"gender": "female",
"style": "professional,casual,creative",
"age": "adult,senior",
"country": "Japan"
}curl -X POST https://nametoavatar.com/api/v1/avatars \
-H "Content-Type: application/json" \
-d '{"name": "Yuki Tanaka", "gender": "female"}'curl -X POST "https://nametoavatar.com/api/v1/avatars?stream=1" \
-H "Content-Type: application/json" \
-d '{"name": "Yuki Tanaka"}'https://nametoavatar.com/api/v1/identities?gender=female&country=Japan&page=1https://nametoavatar.com/api/v1/identities/<identityId>https://nametoavatar.com/api/v1/identities/randomhttps://nametoavatar.com/api/v1/identitiescurl https://nametoavatar.com/api/v1/countriescurl https://nametoavatar.com/api/v1/languages{
"error": "Invalid request body."
}{
"error": "Not found"
}{
"error": "Too many requests for this endpoint. Please try again later."
}{
"error": "Something went wrong. Please try again later."
}