Social posts

Write a social post (+ image) — estimate

Price the request without executing it. Same body as POST /v1/ai/social-post.

post/v1/ai/social-post/estimate

Request

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

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

Estimate

operationstring
estimated_creditsnumber
credits_to_reservenumber
estimated_usageobject
notestring nullable
sufficientboolean

Changes

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