Social posts

Write a social post (+ image)

A ready post per network (length, hashtags and style fitted to each: Instagram, Facebook, LinkedIn, X, TikTok…) in your language and tone — and, optionally, the post image. Publish it with POST /v1/social/publish. An Instagram post keeps at most 5 hashtags (Instagram's limit) and comes with check: the ~125 characters the feed shows before "… more" and what to fix.

Billing: By the tokens / images / seconds the model reports — see GET /v1/ai/models for prices · Rate limit: 30/min

post/v1/ai/social-post

Request

  • Base URL: https://apihub.co.il
  • URL: https://apihub.co.il/v1/ai/social-post
  • Auth: HTTP bearer

Headers

Idempotency-Keystring

Replay-safe: the same execution is returned instead of charging twice

X-Tagstring

Group calls into one job (e.g. one video) — see GET /v1/usage?tag=…

Request body

tonestring
model'auto' | 'gemini-3.8-flash' | 'gemini-3.5-flash' | 'gemini-3.5-flash-lite' | 'gemini-3.1-pro-preview' | 'gemini-3.1-flash-lite'

A model id (GET /v1/ai/models) or "auto" — then quality decides: fast=gemini-3.1-flash-lite, balanced=gemini-3.5-flash, best=gemini-3.1-pro-preview

topicstring required

What the post is about

emojisboolean
length'short' | 'medium' | 'long'
detailsstring

Facts, offer, audience, links — anything the writer must use

quality'fast' | 'balanced' | 'best'

Which model auto picks: fast (cheapest) · balanced (default) · best (strongest, costs more)

hashtagsinteger

Per post. Instagram takes at most 5 (its limit since 18.12.2025): an Instagram post gets no more than 5, whatever is asked

languagestring

he, en, ar, ru…

platformsstring[]
call_to_actionstring

Response

Completed

idstring

Execution id — stable across internal retries; use it with GET /v1/executions/{id}

status'pending' | 'processing' | 'completed' | 'partial' | 'failed' | 'cancelled' | 'timeout'
operationstring
tagstring nullable

Your X-Tag, if sent

created_atstring date-time
completed_atstring date-time nullable
outputobject

Operation result (see each operation). While a Studio render is processing: stage (queued · transcribing · downloading · preparing · cleaning_voice · mixing_audio · rendering · finishing), phase (the engine's: download · prepare · voice · audio · encode · qa · upload, or null), progress (a percent, 0–100) and progress_fraction (0–1), eta_seconds (seconds left, never below 0) and estimate_seconds

errorstring nullable

Changes

No recorded changes to this operation across all 2 revisions of this API.