SparkAI official Python client library
Project description
sparkai-python-client
The official SparkAI Python client
Installation
$ pip install --upgrade sparkai
Usage
import sparkai.SparkAIClient
client = SparkAIClient('PROVIDED_API_KEY')
url = https://picsum.photos/200/300
instructions = 'Annotate any object in the photo'
token = client.create_engagement_from_image_url(url, instructions=instructions)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sparkai-0.1.7.tar.gz
(3.5 kB
view hashes)