Skip to content
Influence

REST APIPreview

Our models inside your product

One API for image, video and sound, at the same prices as the website with no hidden margin. The public API is on its way: here is its shape so you can plan your integration.

Start a generation

create-job.mjs
const res = await fetch('https://api.influence.tech/v1/jobs', {
  method: 'POST',
  headers: {
    Authorization: `Bearer ${process.env.INFLUENCE_API_KEY}`,
    'Content-Type': 'application/json',
  },
  body: JSON.stringify({
    "model": "seedance-2.5",
    "mode": "t2v",
    "prompt": "A paper boat drifting down a rainy street at dusk",
    "params": {
      "dur": 5,
      "aspect": "9:16",
      "res": "720p"
    },
    "webhook": "https://example.com/hooks/jobs"
  }),
})

const job = await res.json()
console.log(job.id, job.status, job.priceMicro)

Send a model, a mode, a prompt and parameters. You get a job id back right away; the result follows by webhook or by polling.

API shape

  • POST/v1/jobsCreates a job and returns its id.
  • GET/v1/jobs/{id}Returns status, progress and output files.
  • POST/v1/jobs/{id}/cancelCancels a queued job and refunds its credits.
  • GET/v1/modelsLists models, their modes and their prices.

Authenticate with an Authorization: Bearer header. Amounts are integers in micro-units (1,000,000 = 1 credit or $1).

201 Created
{
  "id": "job_01J8Z6Q4",
  "status": "queued",
  "progress": 0,
  "priceMicro": 525000,
  "currency": "usd",
  "outputs": []
}

Models and unit prices

API pricing
ModelVendorTypeAPI price (USD)
GPT Image 2.6gpt-image-2.6OpenAIImage$0.01per generation
Seedream 5.5seedream-5.5ByteDanceImage$0.03per generation
Nano Banana 2.1nano-banana-2.1GoogleImage2 creditsper generation
Seedance 2.5seedance-2.5ByteDanceVideo$0.105per second
Kling 4kling-4KuaishouVideo7 creditsper second
Gemini Omni Flash 1.2gemini-omni-flash-1.2GoogleVideo$0.15per second
Eleven v4eleven-v4ElevenLabsAudio$0.05per 1,000 characters
Eleven Music 2.5eleven-music-2.5ElevenLabsAudio$0.008per second
Eleven SFX 2eleven-sfx-2ElevenLabsAudio$0.02per generation
OmniHuman 2omnihuman-2ByteDanceLip sync$0.14per audio second
Swap Proswap-proInfluenceFace swap3 creditsper generation

API pricing: Dollar prices billed to API calls only. In the studio everything is paid in credits (1 credit = $0.01).