Skip to main content
POST
Auto-caption a dataset

Authorizations

Authorization
string
header
required

A team key: sk_test_ for sandbox, sk_live_ for production.

Path Parameters

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
model
enum<string>
default:florence-2-large
Available options:
florence-2-large,
florence-2-base,
blip-large,
blip-base
style
enum<string>
default:sentence
Available options:
sentence,
tags
overwrite
boolean
default:false

Response

202 - application/json

Default Response

jobId
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
targets
integer
required
Required range: 0 <= x <= 9007199254740991
credits
number
required
Required range: x >= 0