---
title: "Write a social post (+ image) — estimate"
method: POST
path: "/v1/ai/social-post/estimate"
tags: ["Social posts"]
---

# Write a social post (+ image) — estimate

`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

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

## Request body

- object
  - `tone` string
  - `image` object: Also create the post image
    - `model` 'auto' | 'gemini-3.1-flash-image' | 'gemini-nano-banana-2.1' | 'gemini-3.1-flash-lite-image' | 'gemini-3-pro-image': A model id (GET /v1/ai/models) or "auto" — then `quality` decides: fast=gemini-3.1-flash-lite-image, balanced=gemini-nano-banana-2.1, best=gemini-3-pro-image
    - `style` string: e.g. photo-realistic, flat illustration, 3D, minimal
    - `generate` boolean
    - `resolution` '512px' | '1K' | '2K' | '4K'
    - `aspect_ratio` '1:1' | '4:5' | '3:4' | '2:3' | '9:16' | '16:9' | '4:3' | '3:2' | '21:9'
    - `text_on_image` string: Short headline to render inside the image
  - `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
  - `topic` string, required: What the post is about
  - `emojis` boolean
  - `length` 'short' | 'medium' | 'long'
  - `details` string: 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)
  - `hashtags` integer: Per post. Instagram takes at most 5 (its limit since 18.12.2025): an Instagram post gets no more than 5, whatever is asked
  - `language` string: he, en, ar, ru…
  - `platforms` string[]
  - `call_to_action` string

## Response `200`

Estimate

- Estimate
  - `operation` string
  - `estimated_credits` number
  - `credits_to_reserve` number
  - `estimated_usage` object
  - `note` string, nullable
  - `balance` object
    - `available` number
  - `sufficient` boolean

---

[API](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai.md) · [All operations](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/apihub/apis/apihub-one-api-for-chat-image-video-ai/revisions/a8caa42835ce?raw)
