v2

Starts asynchronous AI image generation for a post. Returns a jobId immediately — poll "check_generate_image" with it until status is "done" (result.imageUrl), then attach it via update_post/update_post_image ("fileUrl"). Prefer "create_post" instead if you just want to write and publish one post — it handles image generation inline.

post/v2/content/generate-image/start

Request

  • Base URL: https://api.inside.ad/api
  • URL: https://api.inside.ad/api/v2/content/generate-image/start
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL https://api.inside.ad/api/oauth/authorize, token URL https://api.inside.ad/api/oauth/token, scopes: content:write)
    • API key in header authorization

Query parameters

userIdnumber required

Telegram userId owner of the content

Request body

platform'instagram' | 'threads' | 'telegram'
poststring required

The post caption/idea text to base the generated image on

contentType'outgoing' | 'account' required
contentIdnumber nullable
channelIdstring required
modelstring nullable
aspectRatiostring nullable

e.g. "1:1", "4:5", "9:16"

Response

Default Response

jobIdstring required
statusstring required

Changes

No recorded changes to this operation across all 1 revision of this API.