SocialShot AI

v1.0.0
ai.socialshot/socialshot Checked 1 day ago Published 23 days ago

AI product photos for ecommerce: turn product images into studio, lifestyle and on-model photos.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_account Get SocialShot account

Shop metadata, plan, credit balance and dailyCap {used, limit, resetsAt} (the rolling 24-hour API credit cap) for this API key. Free; call before spending credits.

list_options List generation options

Catalog of accepted generation options (currently the output tiers). Free.

create_photoshoot_batch Create photoshoot batch

COSTS MONEY: every successful submission spends real, paid credits from the account's SocialShot balance (about credits_estimated in the result; higher tier / output_quality cost more). Only call it when the user has asked for images to be generated, and check get_account (credits, dailyCap) first. Queues AI product-photoshoot generation for 1-50 publicly reachable product image URLs (one output each) and returns batch_id, total and credits_estimated immediately; poll with wait_for_job or get_job. Identical inputs never charge twice: they reuse an idempotency_key derived from the inputs, so th…

ParameterTypeDescription
items *array1-50 product images; one output image each.
scene_type *stringstudio = clean backdrop; lifestyle = styled scene.
anglestring
aspect_ratiostring
backdropstringStudio backdrop colour (default "white").
backdrop_idstring
backgroundstringScene background (default "urban street").
background_idstring
brand_namestring
compositionstring
defaultsobjectBatch-wide overrides applied to every item.
force_newbooleanStart a new, separately charged batch even though identical inputs ran before. Only on the user's explicit request.
garment_fitstring
garment_typestringWhat the apparel product is. Set it for sarees and dupattas: a folded saree photo is easily read as a dupatta or stole. Unset: guessed from custom_prompt keywords.
idempotency_keystringOptional. Reuse to safely retry the same request; derived from the inputs if omitted.
include_human_modelbooleanOn-model shot (default true).
lightingstring
logo_alignmentstring
logo_enabledboolean
output_qualitystring1k (default), 2k or 4k. Higher costs more credits.
posestring
product_categorystring
style_moodstring
tierstringeconomy (default), standard or premium. Higher tiers cost more credits.

get_job Get batch status

Status of a photoshoot batch: per-item status and output_url. The batch is done when `settled` >= `expected_total`. `total` only counts rows written so far, so it can lag while the queue drains.

ParameterTypeDescription
batch_id *string

wait_for_job Wait for batch

Poll a batch (backoff 2s up to 10s) until every item is completed or failed, or until timeout. Pass expected_total (the `total` from create_photoshoot_batch) until the server reports its own. On timeout returns done=false with the latest status; call again to keep waiting.

ParameterTypeDescription
batch_id *string
expected_totalinteger
timeout_secondsintegerDefault 50.