Deepnia
v1.0.0Create 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.
| Parameter | Type | Description |
|---|---|---|
type * | string | |
limit | integer | Voice-overs: voices per page (default 40). |
model | string | Voice-over model whose voices to list. Default: the default model. |
offset | integer | Voice-overs: next_offset from the previous page. |
voice_gender | string | Voice-overs: only voices of this gender. |
voice_language | string | Voice-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).
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to create, in the user's words. |
aspect_ratio | string | Aspect 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. |
count | integer | Images to make in this creation, each one charged. Default and limits: settings.count in list_creation_options. |
model | string | Image model id from list_creation_options. Default: Deepnia's default. |
reference_images | array | Reference 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… |
resolution | string | Resolution, 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).
| Parameter | Type | Description |
|---|---|---|
prompt * | string | What to create, in the user's words. |
aspect_ratio | string | Aspect ratio, for example 16:9 or 9:16. Default: the model's default; see list_creation_options. |
duration_seconds | integer | Length in seconds. Default: the model's shortest. |
end_image | The video ends on this picture, with start_image: { creation_id } or { url }. Models with end_image true in list_creation_options. | |
mode | string | The model's mode (a quality tier, or the voice of a talking model): settings.modes in list_creation_options. Default: settings.defaultMode. |
model | string | Video model id from list_creation_options. Default: Deepnia's default. |
reference_images | array | Reference 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… |
resolution | string | Resolution, for example 720p. Default: the model's default; see list_creation_options. |
sound | boolean | false: no sound, on models with settings.soundSwitch true. Default: sound wherever the model makes it. |
start_image | The 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).
| Parameter | Type | Description |
|---|---|---|
text * | string | The exact words to read. |
voice_id * | string | Voice id from list_creation_options (type voiceover, same model). |
language | string | The language to read in, where the model takes one (settings.languages in list_creation_options). Default: auto. |
model | string | Voice-over model id. Default: Deepnia's default. |
speed | number | Reading speed, where the model takes one (settings.speed). Default: 1. |
stability | number | Voice 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.
| Parameter | Type | Description |
|---|---|---|
credits * | number | The price in credits from quote_image, as shown to and accepted by the user. |
quote_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
credits * | number | The price in credits from quote_video, as shown to and accepted by the user. |
quote_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
credits * | number | The price in credits from quote_voiceover, as shown to and accepted by the user. |
quote_id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
id * | string | The 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.
| Parameter | Type | Description |
|---|---|---|
before_id | string | next_before_id from the previous page. |
limit | integer | |
type | string |
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).
| Parameter | Type | Description |
|---|---|---|
account_ids * | array | Account ids from list_social_accounts. |
caption * | string | The post text with its hashtags, in the user's language. |
media_url * | string | The result link of a completed creation (get_creation or list_my_creations). |
scheduled_for | string | ISO 8601 time with its offset, at least 2 minutes ahead, to schedule. Absent: posted now. |
tiktok_consent | boolean | true once the user accepted TikTok's music and content rules. |
timezone | string | The user's IANA time zone, for example Africa/Abidjan. |