The concept of a private Instagram viewer is often presented as a convenient and discreet tool for the digitally curious, offering a easy pretentiousness to probe content without the formality of a follow request.
')
if (ii == data.output.length - 1) {
$("#AI-user-modal .modal-footer").prepend(`
选择 `);
}
ii = ii + 1;
})
}
$('#generatedAiPostText').val(data.output);
}
}
else{
$("#ai-user-button").text("产生");
$("#ai-user-button").removeAttr('disabled');
$('.ai_user_alert').html('
' + data.message + '
');
setTimeout(() => {
$('.ai_user_alert').html('');
},3000);
clearInterval(window.checkAI);
}
});
}
function generateUserImages(type = 'avatar') {
clearInterval(window.checkAI);
$("#AI-user-modal #productimage-holder").html('');
$('#ai-selected-user-button').remove();
$("#AI-user-modal .ball-pulse").fadeIn();
$("#ai-user-button").text("请稍等..");
$("#ai-user-button").attr("disabled","true");
$('#ai-selected-user-button').remove();
$.post(Wo_Ajax_Requests_File()+'?f=ai&s=convert', {text: $('#aiUserText').val(),type: type}, function(data, textStatus, xhr) {
if (data.status == 200) {
$("#ai-user-button").text(data.status_text);
window.checkAI = setInterval(() => {checkAIUser(data.id,type)} , 3000);
}
else{
$("#ai-user-button").removeAttr('disabled');
$("#AI-user-modal .ball-pulse").fadeOut();
$("#ai-user-button").text("产生");
$('.ai_user_alert').html('
' + data.message + '
');
setTimeout(() => {
$('.ai_user_alert').html('');
},3000);
}
});
}
function openAiUserModel(type = 'avatar') {
$("#AI-user-modal #productimage-holder").html('');
$('#ai-selected-user-button').remove();
$('#aiUserText').val('');
aiUserImage = [];
$('#ai-user-model-type').val(type);
$("#ai-user-button").removeAttr('disabled');
$('.ai_user_alert').html("");
if (type == 'avatar') {
$('#AI-user-modal .modal-title').html('
增强您的个人资料图片');
}
else{
$('#AI-user-modal .modal-title').html('
增强您的封面图片');
}
$('#ai-user-button').attr('onclick',`generateUserImages("${type}")`);
$("#AI-user-modal #productimage-holder").html('');
$('#ai-selected-user-button').remove();
$('#aiUserText').val('');
aiUserImage = [];
$('#AI-user-modal').modal('show');
}
');
Wo_Delay(function(){
$("#open_add_to_family_modal").slideUp(function(){
$(this).remove();
$("#add_to_family").modal('hide');
})
$('#add_to_family').find('btn-main').removeAttr('disabled');
location.reload()
},1500);
}
else{
$('.add_to_family_alert').html('