Configure Dreamina Account
February 23, 2026
Table of contents
Configure your Dreamina account for API access using email and password credentials.
https://api.useapi.net/v1/dreamina/accounts
Request Headers
Authorization: Bearer {API token}
Content-Type: application/json
# Alternatively you can use multipart/form-data
# Content-Type: multipart/form-data
API tokenis required, see Setup useapi.net for details.
Request Body
{
"email": "[email protected]",
"password": "your-password",
"region": "US",
"maxJobs": 10
}
emailis required. Dreamina account email address.passwordis required. Dreamina account password.regionis required. Region code. Supported value:US.maxJobsis optional. Maximum concurrent jobs for this account (1-50, default:10).Responses
-
Account configured successfully.
{ "account": "US:[email protected]", "email": "[email protected]", "region": "US", "maxJobs": 10, "sessionExpires": "2026-04-24T12:00:00.000Z", "session": { "expires": "2026-04-24T12:00:00.000Z", "lastRefreshed": "2026-02-23T12:00:00.000Z", "daysUntilExpiry": 60 }, "models": { "video": ["seedance-2.0", "dreamina-3.5-pro", "dreamina-3.0"] }, "credits": { "total": 500, "vip": 200, "gift": 200, "purchase": 100, "dailyClaimed": false } } -
Validation error (missing/invalid parameters).
{ "error": "Parameter email is required" } -
Invalid API token.
{ "error": "Unauthorized" } -
Subscription expired or insufficient credits.
{ "error": "Account has no subscription or subscription expired" } -
Login failed (bad credentials, upstream error).
{ "error": "Login failed: invalid credentials" }
Model
account- Account identifier in formatREGION:emailemail- Dreamina account emailregion- Region codemaxJobs- Maximum concurrent jobssessionExpires- ISO 8601 timestamp when session expiressession- Session details including refresh timingmodels- Available video generation modelscredits- Credit balance breakdown
{ // TypeScript, all fields are optional
account: string // "US:[email protected]"
email: string
region: string // "US"
maxJobs: number // 1-50
sessionExpires: string // ISO 8601 timestamp
session: {
expires: string // ISO 8601 timestamp
lastRefreshed: string // ISO 8601 timestamp
daysUntilExpiry: number
}
models: {
video: string[] // Available model names
}
credits: {
total: number
vip: number
gift: number
purchase: number
dailyClaimed: boolean
}
error?: string // Error message
}
Examples
-
curl -H "Accept: application/json" \ -H "Content-Type: application/json" \ -H "Authorization: Bearer YOUR_API_TOKEN" \ -X POST "https://api.useapi.net/v1/dreamina/accounts" \ -d '{ "email": "[email protected]", "password": "your-password", "region": "US" }' -
const apiUrl = 'https://api.useapi.net/v1/dreamina/accounts'; const token = 'YOUR_API_TOKEN'; const response = await fetch(apiUrl, { method: 'POST', headers: { 'Authorization': `Bearer ${token}`, 'Content-Type': 'application/json' }, body: JSON.stringify({ email: '[email protected]', password: 'your-password', region: 'US' }) }); const result = await response.json(); console.log('Account configured:', result); -
import requests apiUrl = 'https://api.useapi.net/v1/dreamina/accounts' token = 'YOUR_API_TOKEN' headers = { 'Content-Type': 'application/json', 'Authorization': f'Bearer {token}' } body = { 'email': '[email protected]', 'password': 'your-password', 'region': 'US' } response = requests.post(apiUrl, headers=headers, json=body) print(response.status_code, response.json())