Skip to main content
POST
/
bizcard
/
recognize
Business Card Recognition API
curl --request POST \
  --url https://geekai.dev/api/v1/bizcard/recognize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "image": "<string>",
  "model": "glm-4v-flash"
}'
{
  "name": "John",
  "company": "GeekAI, LLC",
  "position": "customer manager",
  "address": "Qianjiang New City, Shangcheng District, Hangzhou City, Zhejiang Province.",
  "phone": [
    "+8618888888888",
    "057128888888"
  ],
  "email": [
    "john@geekai.dev"
  ]
}
GeekAI has reconstructed the traditional OCR image recognition service based on AI model services and opened it up in the form of an API interface.
Note: If the model value is not passed, the free glm-4v-flash is used by default. You can also choose other image recognition models supported by GeekAI in the Model Marketplace. The cost is based on the model price (API) displayed in the list.

cURL Request Example

curl --location 'https://geekai.dev/api/v1/bizcard/recognize' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer {YOUR_GEEKAI_API_KEY}' \
--data '{
    "image": "https://example.com/bizcard.jpg"
}'

Authorizations

Authorization
string
header
required

token

Body

application/json
image
string
required

business card image, support image URL or Base64 encoding format, support png/jpg/jpeg format.

model
string
default:glm-4v-flash

model name, support image recognition model, default is glm-4v-flash(free)

Example:

"glm-4v-flash"

Response

successful response

name
string

name

Example:

"John"

company
string

company name

Example:

"GeekAI, LLC"

position
string

position

Example:

"customer manager"

address
string

address

Example:

"Qianjiang New City, Shangcheng District, Hangzhou City, Zhejiang Province."

phone
string[]

phone list

Example:
["+8618888888888", "057128888888"]
email
string[]

email list

Example:
["john@geekai.dev"]
I