Deepnia

v1.0.0
com.deepnia/deepnia Checked 4 days ago Published 28 days ago

Create AI images, short videos and voice-overs on Deepnia, with the price shown first.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

get_credit_balance Check credit balance

Use this when the user asks how many Deepnia credits they have left, or before proposing a creation they may not be able to afford: returns the credits available on their account. The price of one creation comes from quote_image, quote_video or quote_voiceover.

list_creation_options List models and voices

Use this when you need the choices for a creation before pricing it: the models, durations, formats and modes for an image, a short video or a voice-over, and the pictures each model takes (max_reference_images, start_image, end_image). For voice-overs: the voices of one model, filtered by language and gender, a page at a time. Exact prices come from the quote_* tools.

ParameterTypeDescription
type *string
limitintegerVoice-overs: voices per page (default 40).
modelstringVoice-over model whose voices to list. Default: the default model.
offsetintegerVoice-overs: next_offset from the previous page.
voice_genderstringVoice-overs: only voices of this gender.
voice_languagestringVoice-overs: only voices that speak this language (a code such as fr, en, es, pt), plus multilingual ones.

quote_image Price an image

Use this when the user wants Deepnia to make an image: gets its exact price in Deepnia credits before anything is created. Nothing is charged. Reference images keep the exact product/person: give the product photo here. Show the price to the user; once they accept, call create_image with the quote_id and credits it returns: that call makes the image (a quote alone creates nothing).

ParameterTypeDescription
prompt *stringWhat to create, in the user's words.
aspect_ratiostringAspect ratio, for example 1:1, 16:9 or 9:16. With pictures: their own shape when the model allows it. Default: the model's default; see list_creation_options.
countintegerImages to make in this creation, each one charged. Default and limits: settings.count in list_creation_options.
modelstringImage model id from list_creation_options. Default: Deepnia's default.
reference_imagesarrayReference images keep the exact product/person: give the product photo here. The image is made from them (the product in a new scene, a poster with it). Each is { creation_id } or { url }; how many ea…
resolutionstringResolution, for example 1K or 2K. Default: the model's default; see list_creation_options.

quote_video Price a short video

Use this when the user wants Deepnia to make a short video: gets its exact price in Deepnia credits before anything is created. Nothing is charged. Reference images keep the exact product/person: give the product photo here. Show the price to the user; once they accept, call create_video with the quote_id and credits it returns: that call makes the video (a quote alone creates nothing).

ParameterTypeDescription
prompt *stringWhat to create, in the user's words.
aspect_ratiostringAspect ratio, for example 16:9 or 9:16. Default: the model's default; see list_creation_options.
duration_secondsintegerLength in seconds. Default: the model's shortest.
end_imageThe video ends on this picture, with start_image: { creation_id } or { url }. Models with end_image true in list_creation_options.
modestringThe model's mode (a quality tier, or the voice of a talking model): settings.modes in list_creation_options. Default: settings.defaultMode.
modelstringVideo model id from list_creation_options. Default: Deepnia's default.
reference_imagesarrayReference images keep the exact product/person: give the product photo here. The video shows them (not as its first frame). Not together with start_image. Each is { creation_id } or { url }; how many…
resolutionstringResolution, for example 720p. Default: the model's default; see list_creation_options.
soundbooleanfalse: no sound, on models with settings.soundSwitch true. Default: sound wherever the model makes it.
start_imageThe video starts from this picture (image-to-video): { creation_id } or { url }. Models with start_image true in list_creation_options.

quote_voiceover Price a voice-over

Use this when the user wants Deepnia to make a voice-over reading the given text with a chosen voice: gets its exact price in Deepnia credits before anything is created. Nothing is charged. Show the price to the user; once they accept, call create_voiceover with the quote_id and credits it returns: that call makes the voice-over (a quote alone creates nothing).

ParameterTypeDescription
text *stringThe exact words to read.
voice_id *stringVoice id from list_creation_options (type voiceover, same model).
languagestringThe language to read in, where the model takes one (settings.languages in list_creation_options). Default: auto.
modelstringVoice-over model id. Default: Deepnia's default.
speednumberReading speed, where the model takes one (settings.speed). Default: 1.
stabilitynumberVoice stability, where the model takes one (settings.stability). Default: 0.5.

create_image Create the image

Use this when the user accepted the price from quote_image: makes the image with Deepnia from that quote_id and credits, paid with the user's Deepnia credits and saved in their Deepnia account. Refunded if it fails; the same quote_id never charges twice. Then follow it with get_creation.

ParameterTypeDescription
credits *numberThe price in credits from quote_image, as shown to and accepted by the user.
quote_id *stringThe quote_id returned by quote_image.

create_video Create the video

Use this when the user accepted the price from quote_video: makes the video with Deepnia from that quote_id and credits, paid with the user's Deepnia credits and saved in their Deepnia account. Refunded if it fails; the same quote_id never charges twice. Then follow it with get_creation.

ParameterTypeDescription
credits *numberThe price in credits from quote_video, as shown to and accepted by the user.
quote_id *stringThe quote_id returned by quote_video.

create_voiceover Create the voice-over

Use this when the user accepted the price from quote_voiceover: makes the voice-over with Deepnia from that quote_id and credits, paid with the user's Deepnia credits and saved in their Deepnia account. Refunded if it fails; the same quote_id never charges twice. Then follow it with get_creation.

ParameterTypeDescription
credits *numberThe price in credits from quote_voiceover, as shown to and accepted by the user.
quote_id *stringThe quote_id returned by quote_voiceover.

get_creation Check a creation

Use this when a creation was started and the user wants its result: returns the state of one creation (queued, processing, completed, failed, refunded) and, once completed, its file links. Call it after create_* with the returned id, again after check_again_in_seconds while it is not finished, then share the result link with the user.

ParameterTypeDescription
id *stringThe id returned by create_*.
type *string

list_my_creations List creations made here

Use this when the user asks what they already made through this app, or an earlier creation's id or link is needed: lists the images, videos and voice-overs this app created on their Deepnia account, newest first, with their state and file links. To follow a creation just started, call get_creation.

ParameterTypeDescription
before_idstringnext_before_id from the previous page.
limitinteger
typestring

list_social_accounts List social accounts

Use this when the user wants to post or schedule a Deepnia creation on social networks, or asks where Deepnia can post: lists the social accounts they connected on Deepnia (TikTok, Instagram, Facebook, YouTube and others) with the ids publish_creation takes.

publish_creation Post or schedule on social networks

Use this when the user wants a finished Deepnia creation posted on their social accounts, now or at a time they choose: Deepnia posts it with their caption (no credits). Confirm the accounts, caption and time with the user first; for TikTok, ask them to accept TikTok's music and content rules (tiktok_consent).

ParameterTypeDescription
account_ids *arrayAccount ids from list_social_accounts.
caption *stringThe post text with its hashtags, in the user's language.
media_url *stringThe result link of a completed creation (get_creation or list_my_creations).
scheduled_forstringISO 8601 time with its offset, at least 2 minutes ahead, to schedule. Absent: posted now.
tiktok_consentbooleantrue once the user accepted TikTok's music and content rules.
timezonestringThe user's IANA time zone, for example Africa/Abidjan.